示例#1
0
 private async Task TryRemoveOriginalReaction(MessageReactionAddEvent evt)
 {
     if (_bot.PermissionsIn(evt.ChannelId).HasFlag(PermissionSet.ManageMessages))
     {
         await _rest.DeleteUserReaction(evt.ChannelId, evt.MessageId, evt.Emoji, evt.UserId);
     }
 }