Example #1
0
 public MessageEdited(LastMessageCacheService lastMessageCache, ProxyService proxy, IDatabase db, IMetrics metrics)
 {
     _lastMessageCache = lastMessageCache;
     _proxy            = proxy;
     _db      = db;
     _metrics = metrics;
 }
 public MessageEdited(LastMessageCacheService lastMessageCache, ProxyService proxy, IDatabase db, IMetrics metrics, ModelRepository repo, DiscordShardedClient client)
 {
     _lastMessageCache = lastMessageCache;
     _proxy            = proxy;
     _db      = db;
     _metrics = metrics;
     _repo    = repo;
     _client  = client;
 }
Example #3
0
 public MessageEdited(LastMessageCacheService lastMessageCache, ProxyService proxy, IDatabase db, IMetrics metrics, ModelRepository repo, Cluster client, IDiscordCache cache, Bot bot)
 {
     _lastMessageCache = lastMessageCache;
     _proxy            = proxy;
     _db      = db;
     _metrics = metrics;
     _repo    = repo;
     _client  = client;
     _cache   = cache;
     _bot     = bot;
 }
Example #4
0
 public MessageEdited(LastMessageCacheService lastMessageCache, ProxyService proxy, IDatabase db, IMetrics metrics, ModelRepository repo, Cluster client, IDiscordCache cache, Bot bot, DiscordApiClient rest, ILogger logger)
 {
     _lastMessageCache = lastMessageCache;
     _proxy            = proxy;
     _db      = db;
     _metrics = metrics;
     _repo    = repo;
     _client  = client;
     _cache   = cache;
     _bot     = bot;
     _rest    = rest;
     _logger  = logger.ForContext <MessageEdited>();
 }
Example #5
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;
 }
Example #6
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;
 }
Example #7
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;
 }