Ensure a cadence of 0 does not get used
The user surely meant 1
This commit is contained in:
parent
d83f933f1d
commit
93590d14b7
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class MatcherCog(commands.Cog):
|
|||
weekday = 0
|
||||
if hour is None:
|
||||
hour = 9
|
||||
if cadence is None:
|
||||
if cadence is None or cadence == 0:
|
||||
cadence = 1
|
||||
channel_id = str(interaction.channel.id)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue