Compare commits
2 commits
9d3d57ef30
...
e8c5ac9939
Author | SHA1 | Date | |
---|---|---|---|
e8c5ac9939 | |||
e3d96faaa7 |
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue