Example #1
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>();
 }
Example #2
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;
 }