Merge branch 'main' into mdiluz-patch-2
This commit is contained in:
commit
3b813a63da
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class ScheduleButton(discord.ui.Button):
|
||||||
|
|
||||||
if tasks:
|
if tasks:
|
||||||
for (day, hour, min, cadence, cadence_start) in 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)
|
msg += strings.scheduled(next_run, min)
|
||||||
|
|
||||||
await interaction.channel.send(msg)
|
await interaction.channel.send(msg)
|
||||||
|
|
Loading…
Add table
Reference in a new issue