Esempio n. 1
0
 public ProxiedMessage(EmbedService embeds, IClock clock,
                       DiscordApiClient rest,
                       WebhookExecutorService webhookExecutor, LogChannelService logChannel, IDiscordCache cache)
 {
     _embeds          = embeds;
     _clock           = clock;
     _rest            = rest;
     _webhookExecutor = webhookExecutor;
     _logChannel      = logChannel;
     // _cache = cache;
 }
Esempio n. 2
0
 public ProxiedMessage(EmbedService embeds,
                       DiscordApiClient rest, IMetrics metrics, ModelRepository repo, ProxyService proxy,
                       WebhookExecutorService webhookExecutor, LogChannelService logChannel, IDiscordCache cache)
 {
     _embeds          = embeds;
     _rest            = rest;
     _webhookExecutor = webhookExecutor;
     _repo            = repo;
     _logChannel      = logChannel;
     // _cache = cache;
     _metrics = metrics;
     _proxy   = proxy;
 }
Esempio n. 3
0
 public ProxyService(LogChannelService logChannel, ILogger logger, WebhookExecutorService webhookExecutor,
                     DispatchService dispatch, IDatabase db, ProxyMatcher matcher, IMetrics metrics, ModelRepository repo,
                     IDiscordCache cache, DiscordApiClient rest, LastMessageCacheService lastMessage)
 {
     _logChannel      = logChannel;
     _webhookExecutor = webhookExecutor;
     _dispatch        = dispatch;
     _db          = db;
     _matcher     = matcher;
     _metrics     = metrics;
     _repo        = repo;
     _cache       = cache;
     _lastMessage = lastMessage;
     _rest        = rest;
     _logger      = logger.ForContext <ProxyService>();
 }