public DiscordEventDispatcher(DiscordShardedClient client, CommandHandling commandHandler, GameReaction gameReaction, LoginFromConsole log, Global global)
 {
     _client         = client;
     _commandHandler = commandHandler;
     _gameReaction   = gameReaction;
     _log            = log;
     _global         = global;
 }
示例#2
0
        public CommandHandling(CommandService commands,
                               DiscordShardedClient client, UserAccounts accounts, CommandsInMemory commandsInMemory,
                               Scope scope, LoginFromConsole log, Global global)
        {
            _commands = commands;
            _services = scope;
            _log      = log;
            _global   = global;
            _client   = client;
            _accounts = accounts;

            _commandsInMemory = commandsInMemory;
        }