From d9fc7de64cd9a45ee8718544e30977a4652986e1 Mon Sep 17 00:00:00 2001 From: Raphael Guntersweiler Date: Sat, 4 Feb 2023 22:12:56 +0100 Subject: [PATCH] fixed another DI issue --- src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs b/src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs index b0ddf5ac..241ea179 100644 --- a/src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs +++ b/src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs @@ -25,11 +25,13 @@ public class CooldownTask : IHybridTask public CooldownTask( ILogger logger, ICooldownService cooldownService, - ITimeProvider timeProvider) + ITimeProvider timeProvider, + ICommandConfigurationService commandConfigurationService) { _logger = logger; _cooldownService = cooldownService; _timeProvider = timeProvider; + _commandConfigurationService = commandConfigurationService; } public bool ExecutePre(CommandInfo info, CommandInstruction instruction)