Skip to content

Commit

Permalink
bugfix: used wrong parameter when evaluating interval for timer messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rGunti committed Aug 5, 2024
1 parent 7407f3e commit 7eab03f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FloppyBot.Commands.Aux.Twitch/TimerMessageCronJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public void Run()
MessageCount = config.MinMessages > 0
? _messageOccurrenceService.GetMessageCountInChannel(
config.Id,
TimeSpan.FromMinutes(config.MinMessages)
TimeSpan.FromMinutes(config.Interval)
)
: -1,
})
Expand Down

0 comments on commit 7eab03f

Please sign in to comment.