Ejemplo n.º 1
0
 public MessageEdit(IDatabase db, ModelRepository repo, IClock clock, DiscordApiClient rest, WebhookExecutorService webhookExecutor, LogChannelService logChannel)
 {
     _db              = db;
     _repo            = repo;
     _clock           = clock;
     _rest            = rest;
     _webhookExecutor = webhookExecutor;
     _logChannel      = logChannel;
 }
Ejemplo n.º 2
0
 public ProxyService(DiscordShardedClient client, LogChannelService logChannel, IDataStore data, EmbedService embeds, ILogger logger, WebhookExecutorService webhookExecutor)
 {
     _client          = client;
     _logChannel      = logChannel;
     _data            = data;
     _embeds          = embeds;
     _webhookExecutor = webhookExecutor;
     _logger          = logger.ForContext <ProxyService>();
 }
Ejemplo n.º 3
0
 public ProxyService(LogChannelService logChannel, IDataStore data, ILogger logger,
                     WebhookExecutorService webhookExecutor, IDatabase db, ProxyMatcher matcher, IMetrics metrics)
 {
     _logChannel      = logChannel;
     _data            = data;
     _webhookExecutor = webhookExecutor;
     _db      = db;
     _matcher = matcher;
     _metrics = metrics;
     _logger  = logger.ForContext <ProxyService>();
 }
Ejemplo n.º 4
0
 public ProxyService(LogChannelService logChannel, ILogger logger,
                     WebhookExecutorService webhookExecutor, IDatabase db, ProxyMatcher matcher, IMetrics metrics, ModelRepository repo)
 {
     _logChannel      = logChannel;
     _webhookExecutor = webhookExecutor;
     _db      = db;
     _matcher = matcher;
     _metrics = metrics;
     _repo    = repo;
     _logger  = logger.ForContext <ProxyService>();
 }
Ejemplo n.º 5
0
 public ProxyService(IDiscordClient client, LogChannelService logChannel, IDataStore data, EmbedService embeds, ILogger logger, ProxyCacheService cache, WebhookExecutorService webhookExecutor, DbConnectionFactory conn)
 {
     _client          = client;
     _logChannel      = logChannel;
     _data            = data;
     _embeds          = embeds;
     _cache           = cache;
     _webhookExecutor = webhookExecutor;
     _conn            = conn;
     _logger          = logger.ForContext <ProxyService>();
 }
Ejemplo n.º 6
0
        public ProxyService(IDiscordClient client, LogChannelService logChannel, MessageStore messageStorage, EmbedService embeds, ILogger logger, ProxyCacheService cache, WebhookExecutorService webhookExecutor)
        {
            _client          = client;
            _logChannel      = logChannel;
            _messageStorage  = messageStorage;
            _embeds          = embeds;
            _cache           = cache;
            _webhookExecutor = webhookExecutor;
            _logger          = logger.ForContext <ProxyService>();

            _httpClient = new HttpClient();
        }
Ejemplo n.º 7
0
 public ProxyService(LogChannelService logChannel, ILogger logger,
                     WebhookExecutorService webhookExecutor, IDatabase db, ProxyMatcher matcher, IMetrics metrics, ModelRepository repo, IDiscordCache cache, DiscordApiClient rest)
 {
     _logChannel      = logChannel;
     _webhookExecutor = webhookExecutor;
     _db      = db;
     _matcher = matcher;
     _metrics = metrics;
     _repo    = repo;
     _cache   = cache;
     _rest    = rest;
     _logger  = logger.ForContext <ProxyService>();
 }