Exemple #1
0
 public InfoModule(DiscordSocketClient discord, LoggingService logger, PerformanceService perf, BotInfoService botInfo, DocumentationCacheService cache)
 {
     this.discord = discord;
     this.logger  = logger;
     this.perf    = perf;
     this.botInfo = botInfo;
     this.cache   = cache;
 }
        public DocumentationService(CommandService commands, IConfigurationRoot config, LoggingService logger, DocumentationCacheService cache, IServiceProvider provider)
        {
            this.commands = commands;
            this.config   = config;
            this.logger   = logger;
            this.cache    = cache;
            this.provider = provider;

            documentationProviders = new List <DocumentationProvider>();
        }