Пример #1
0
 public PKEventHandler(ProxyService proxy, ILogger logger, IMetrics metrics, IDiscordClient client, DbConnectionFactory connectionFactory, IServiceProvider services, CommandTree tree)
 {
     _proxy             = proxy;
     _logger            = logger;
     _metrics           = metrics;
     _client            = (DiscordShardedClient)client;
     _connectionFactory = connectionFactory;
     _services          = services;
     _tree = tree;
 }
Пример #2
0
 public PKEventHandler(ProxyService proxy, ILogger logger, IMetrics metrics, DiscordShardedClient client, DbConnectionFactory connectionFactory, ILifetimeScope services, CommandTree tree, Scope sentryScope, ProxyCache cache)
 {
     _proxy             = proxy;
     _logger            = logger;
     _metrics           = metrics;
     _client            = client;
     _connectionFactory = connectionFactory;
     _services          = services;
     _tree        = tree;
     _sentryScope = sentryScope;
     _cache       = cache;
 }
Пример #3
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;
 }
Пример #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;
 }