Пример #1
0
 private async Task ReactionAdded(Cacheable <IUserMessage, ulong> cacheMessage, ISocketMessageChannel channel,
                                  SocketReaction reaction)
 {
     if (reaction.User.Value.IsBot)
     {
         return;
     }
     _octoGameReaction.ReactionAddedForOctoGameAsync(cacheMessage, channel, reaction);
 }
Пример #2
0
        private async Task ReactionAdded(Cacheable <IUserMessage, ulong> cacheMessage, ISocketMessageChannel channel,
                                         SocketReaction reaction)
        {
            return; //It's a fix, I need to figure out how to go around it when the game is out

            if (reaction.User.Value.IsBot)
            {
                return;
            }
            _octoGameReaction.ReactionAddedForOctoGameAsync(cacheMessage, channel, reaction);
        }
Пример #3
0
 private async Task ReactionAdded(Cacheable <IUserMessage, ulong> cacheMessage, ISocketMessageChannel channel,
                                  SocketReaction reaction)
 {
     if (reaction.User.Value.IsBot)
     {
         return;
     }
     Reaction.ReactionAddedFor2048(cacheMessage, channel, reaction);
     OctoGameReaction.ReactionAddedForOctoGameAsync(cacheMessage, channel, reaction);
     ColorRoleReaction.ReactionAddedForRole(cacheMessage, channel, reaction);
     RoomRoleReaction.ReactionAddedForRole(cacheMessage, channel, reaction);
     RoomRoleReactionHandeling.ReactionAddedForRole(cacheMessage, channel, reaction);
     _reactionsHandelingForBlogAndArt.Client_ReactionAddedForArtVotes(cacheMessage, channel, reaction);
     _reactionsHandelingForBlogAndArt.Client_ReactionAddedAsyncForBlog(cacheMessage, channel, reaction);
 }