Add a weekly cadence to the match schedule #15

Merged
mdiluz merged 7 commits from issue-9-advanced-cadence into main 2024-09-22 14:26:39 +01:00
Showing only changes of commit 93590d14b7 - Show all commits

View file

@ -121,7 +121,7 @@ class MatcherCog(commands.Cog):
weekday = 0 weekday = 0
if hour is None: if hour is None:
hour = 9 hour = 9
if cadence is None: if cadence is None or cadence == 0:
cadence = 1 cadence = 1
channel_id = str(interaction.channel.id) channel_id = str(interaction.channel.id)