From 22311f1c607dc8296ecbfcc5118586c31ad8f565 Mon Sep 17 00:00:00 2001 From: Playwo Date: Thu, 12 Nov 2020 11:47:14 +0100 Subject: [PATCH] Add method to delete reaction with ids --- src/Discord.Net.Rest/DiscordRestClient.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Discord.Net.Rest/DiscordRestClient.cs b/src/Discord.Net.Rest/DiscordRestClient.cs index 4c29d1625..706187f62 100644 --- a/src/Discord.Net.Rest/DiscordRestClient.cs +++ b/src/Discord.Net.Rest/DiscordRestClient.cs @@ -100,6 +100,9 @@ namespace Discord.Rest public Task GetWebhookAsync(ulong id, RequestOptions options = null) => 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 /// async Task IDiscordClient.GetApplicationInfoAsync(RequestOptions options)