public WebhookExecutorService(IMetrics metrics, WebhookCacheService webhookCache, ILogger logger,
                               HttpClient client, IDiscordCache cache, DiscordApiClient rest)
 {
     _metrics      = metrics;
     _webhookCache = webhookCache;
     _client       = client;
     _cache        = cache;
     _rest         = rest;
     _logger       = logger.ForContext <WebhookExecutorService>();
 }
 public PeriodicStatCollector(IMetrics metrics, ILogger logger, WebhookCacheService webhookCache,
                              DbConnectionCountHolder countHolder, CpuStatService cpu, ModelRepository repo,
                              BotConfig botConfig, CoreConfig config, RedisService redis, IDiscordCache cache)
 {
     _metrics      = metrics;
     _webhookCache = webhookCache;
     _countHolder  = countHolder;
     _cpu          = cpu;
     _repo         = repo;
     _cache        = cache;
     _botConfig    = botConfig;
     _config       = config;
     _redis        = redis;
     _logger       = logger.ForContext <PeriodicStatCollector>();
 }