fix(moderation): PLEASE WORKL
All checks were successful
Pylint / Pylint (push) Successful in 1m13s

This commit is contained in:
Seaswimmer 2023-10-04 21:51:54 -04:00
parent 5c362f049a
commit fe8211818b
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -202,7 +202,7 @@ class Moderation(commands.Cog):
except ValueError: except ValueError:
await ctx.send(f"Please provide a valid duration!\nSee `{ctx.prefix}tdc`") await ctx.send(f"Please provide a valid duration!\nSee `{ctx.prefix}tdc`")
return return
if parsed_time.total_seconds() / 1000 >= 2419200000: if parsed_time.total_seconds() / 1000 > 2419200000:
await ctx.send("Please provide a duration that is less than 28 days.") await ctx.send("Please provide a duration that is less than 28 days.")
return return
await target.timeout(parsed_time) await target.timeout(parsed_time)