Beispiel #1
0
 public ServerConfig(LoggerCleanService cleanService, IDatabase db, ModelRepository repo, IDiscordCache cache)
 {
     _cleanService = cleanService;
     _db           = db;
     _repo         = repo;
     _cache        = cache;
 }
Beispiel #2
0
 public MessageCreated(LastMessageCacheService lastMessageCache, LoggerCleanService loggerClean,
                       IMetrics metrics, ProxyService proxy, DiscordShardedClient client,
                       CommandTree tree, ILifetimeScope services, IDatabase db, BotConfig config)
 {
     _lastMessageCache = lastMessageCache;
     _loggerClean      = loggerClean;
     _metrics          = metrics;
     _proxy            = proxy;
     _client           = client;
     _tree             = tree;
     _services         = services;
     _db     = db;
     _config = config;
 }
Beispiel #3
0
 public PKEventHandler(ProxyService proxy, ILogger logger, IMetrics metrics, DiscordShardedClient client, DbConnectionFactory connectionFactory, ILifetimeScope services, CommandTree tree, Scope sentryScope, ProxyCache cache, LastMessageCacheService lastMessageCache, LoggerCleanService loggerClean)
 {
     _proxy = proxy;
     _logger = logger;
     _metrics = metrics;
     _client = client;
     _connectionFactory = connectionFactory;
     _services = services;
     _tree = tree;
     _sentryScope = sentryScope;
     _cache = cache;
     _lastMessageCache = lastMessageCache;
     _loggerClean = loggerClean;
 }
Beispiel #4
0
 public MessageCreated(LastMessageCacheService lastMessageCache, LoggerCleanService loggerClean,
                       IMetrics metrics, ProxyService proxy,
                       CommandTree tree, ILifetimeScope services, IDatabase db, BotConfig config, ModelRepository repo, IDiscordCache cache, Bot bot, DiscordApiClient rest)
 {
     _lastMessageCache = lastMessageCache;
     _loggerClean      = loggerClean;
     _metrics          = metrics;
     _proxy            = proxy;
     _tree             = tree;
     _services         = services;
     _db     = db;
     _config = config;
     _repo   = repo;
     _cache  = cache;
     _bot    = bot;
     _rest   = rest;
 }
Beispiel #5
0
 public ServerConfig(IDataStore data, LoggerCleanService cleanService)
 {
     _data         = data;
     _cleanService = cleanService;
 }
Beispiel #6
0
 public ServerConfig(LoggerCleanService cleanService, IDatabase db)
 {
     _cleanService = cleanService;
     _db           = db;
 }
Beispiel #7
0
 public ServerConfig(LoggerCleanService cleanService, IDatabase db, ModelRepository repo)
 {
     _cleanService = cleanService;
     _db           = db;
     _repo         = repo;
 }