Support "MESSAGE_REACTION_REMOVE_ALL" dispatch

This commit is contained in:
Christopher F
2016-11-11 16:28:07 -05:00
parent 6b5a4b3ee6
commit 983b50120d
4 changed files with 49 additions and 2 deletions

View File

@@ -122,6 +122,10 @@ namespace Discord.WebSocket
if (_reactions.Contains(reaction))
_reactions.Remove(reaction);
}
internal void ClearReactions()
{
_reactions.Clear();
}
public Task ModifyAsync(Action<ModifyMessageParams> func, RequestOptions options = null)
=> MessageHelper.ModifyAsync(this, Discord, func, options);