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; }
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; }
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>(); }