Skip to content

Commit

Permalink
Merge pull request #68 from rGunti/66-exception-when-trying-to-execut…
Browse files Browse the repository at this point in the history
…e-commands-on-a-new-system

fixed another DI issue
  • Loading branch information
rGunti authored Feb 4, 2023
2 parents cb4a513 + f935144 commit 945c283
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FloppyBot.Commands.Core/Support/Hybrid/CooldownTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,13 @@ public class CooldownTask : IHybridTask
public CooldownTask(
ILogger<CooldownTask> logger,
ICooldownService cooldownService,
ITimeProvider timeProvider)
ITimeProvider timeProvider,
ICommandConfigurationService commandConfigurationService)
{
_logger = logger;
_cooldownService = cooldownService;
_timeProvider = timeProvider;
_commandConfigurationService = commandConfigurationService;
}

public bool ExecutePre(CommandInfo info, CommandInstruction instruction)
Expand Down

0 comments on commit 945c283

Please sign in to comment.