Merge branch 'main' into mdiluz-patch-2
All checks were successful
Test, Build and Publish / test (pull_request) Successful in 34s
Test, Build and Publish / build-and-push-images (pull_request) Successful in 1m19s

This commit is contained in:
mdiluz 2024-09-22 14:41:38 +01:00
commit 3b813a63da

View file

@ -308,7 +308,7 @@ class ScheduleButton(discord.ui.Button):
if tasks:
for (day, hour, min, cadence, cadence_start) in tasks:
next_run = util.get_next_datetime(day, hour, datetime.now(), cadence, cadence_start)
next_run = util.get_next_datetime_with_cadence(day, hour, datetime.now(), cadence, cadence_start)
msg += strings.scheduled(next_run, min)
await interaction.channel.send(msg)