示例#1
0
        public CommandHandler(DiscordShardedClient client, CommandService commandService, IBotConfiguration config, DaveBot bot)
        {
            _client         = client;
            _commandService = commandService;
            _config         = config;
            _bot            = bot;

            _log = LogManager.GetCurrentClassLogger();

            DefaultPrefix = config.DefaultPrefix;
        }
示例#2
0
 public UtilsModule(DaveBot bot)
 {
     _bot    = bot;
     _config = bot.Configuration;
 }
示例#3
0
 public HelpModule(DaveBot bot)
 {
     _bot    = bot;
     _cs     = bot.CommandService;
     _config = bot.Configuration;
 }