예제 #1
0
 public DiscordEventDispatcher(DiscordShardedClient client, CommandHandling commandHandler, OctoGameReaction octoGameReaction, LoginFromConsole log, Global global, ServerActivityLogger serverActivityLogger, UserSkatisticsCounter userSkatisticsCounter, LvLing lvLing, GiveRoleOnJoin giveRoleOnJoin, CheckIfCommandGiveRole checkIfCommandGiveRole, Announcer announcer, CheckForVoiceChannelStateForVoiceCommand checkForVoiceChannelStateForVoiceCommand)
 {
     _client           = client;
     _commandHandler   = commandHandler;
     _octoGameReaction = octoGameReaction;
     _log    = log;
     _global = global;
     _serverActivityLogger  = serverActivityLogger;
     _userSkatisticsCounter = userSkatisticsCounter;
     _lvLing                 = lvLing;
     _giveRoleOnJoin         = giveRoleOnJoin;
     _checkIfCommandGiveRole = checkIfCommandGiveRole;
     _announcer              = announcer;
     _checkForVoiceChannelStateForVoiceCommand = checkForVoiceChannelStateForVoiceCommand;
 }
예제 #2
0
 public DiscordEventHandler(DiscordShardedClient client, CommandHandeling commandHandler
                            , ServerActivityLogger serverActivityLogger, CheckIfCommandGiveRole checkIfCommandGiveRole,
                            CheckForVoiceChannelStateForVoiceCommand checkForVoiceChannelStateForVoiceCommand,
                            GiveRoleOnJoin giveRoleOnJoin, ReactionsHandelingForBlogAndArt reactionsHandelingForBlogAndArt,
                            LvLing lvLing, UserSkatisticsCounter userSkatisticsCounter, TimerForChangingAvatar timerForChangingAvatar)
 {
     _client                 = client;
     _commandHandler         = commandHandler;
     _serverActivityLogger   = serverActivityLogger;
     _checkIfCommandGiveRole = checkIfCommandGiveRole;
     _checkForVoiceChannelStateForVoiceCommand = checkForVoiceChannelStateForVoiceCommand;
     _giveRoleOnJoin = giveRoleOnJoin;
     _reactionsHandelingForBlogAndArt = reactionsHandelingForBlogAndArt;
     _lvLing = lvLing;
     _userSkatisticsCounter  = userSkatisticsCounter;
     _timerForChangingAvatar = timerForChangingAvatar;
 }