|
@@ -1482,7 +1482,7 @@ namespace Discord.WebSocket |
|
|
var cacheable = new Cacheable<IUserMessage, ulong>(cachedMsg, data.MessageId, isCached, async () => await channel.GetMessageAsync(data.MessageId).ConfigureAwait(false) as IUserMessage); |
|
|
var cacheable = new Cacheable<IUserMessage, ulong>(cachedMsg, data.MessageId, isCached, async () => await channel.GetMessageAsync(data.MessageId).ConfigureAwait(false) as IUserMessage); |
|
|
var emote = data.Emoji.ToIEmote(); |
|
|
var emote = data.Emoji.ToIEmote(); |
|
|
|
|
|
|
|
|
cachedMsg?.RemoveAllReactionsForEmoteAsync(emote); |
|
|
|
|
|
|
|
|
cachedMsg?.RemoveReactionsForEmote(emote); |
|
|
|
|
|
|
|
|
await TimedInvokeAsync(_reactionsRemovedForEmoteEvent, nameof(ReactionsRemovedForEmote), cacheable, channel, emote).ConfigureAwait(false); |
|
|
await TimedInvokeAsync(_reactionsRemovedForEmoteEvent, nameof(ReactionsRemovedForEmote), cacheable, channel, emote).ConfigureAwait(false); |
|
|
} |
|
|
} |
|
|