예제 #1
0
 public CommandHandling(CommandService commands,
                        DiscordShardedClient client, UserAccounts accounts, ServerAccounts serverAccounts, CommandsInMemory commandsInMemory,
                        Scope scope, LoginFromConsole log, Global global)
 {
     _commands         = commands;
     _services         = scope;
     _log              = log;
     _global           = global;
     _client           = client;
     _accounts         = accounts;
     _serverAccounts   = serverAccounts;
     _commandsInMemory = commandsInMemory;
 }
예제 #2
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;
 }