Browse Source

Add method to delete reaction with ids

pull/1676/head
Playwo 4 years ago
parent
commit
22311f1c60
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/Discord.Net.Rest/DiscordRestClient.cs

+ 3
- 0
src/Discord.Net.Rest/DiscordRestClient.cs View File

@@ -100,6 +100,9 @@ namespace Discord.Rest
public Task<RestWebhook> GetWebhookAsync(ulong id, RequestOptions options = null) public Task<RestWebhook> GetWebhookAsync(ulong id, RequestOptions options = null)
=> ClientHelper.GetWebhookAsync(this, id, options); => ClientHelper.GetWebhookAsync(this, id, options);


public Task RemoveReactionAsync(ulong channelId, ulong messageId, ulong userId, IEmote emote, RequestOptions options = null)
=> MessageHelper.RemoveReactionAsync(channelId, messageId, userId, emote, this, options);

//IDiscordClient //IDiscordClient
/// <inheritdoc /> /// <inheritdoc />
async Task<IApplication> IDiscordClient.GetApplicationInfoAsync(RequestOptions options) async Task<IApplication> IDiscordClient.GetApplicationInfoAsync(RequestOptions options)


Loading…
Cancel
Save