fix(moderation): fixed choices in ban command
All checks were successful
Pylint / Pylint (push) Successful in 1m11s

This commit is contained in:
Seaswimmer 2023-10-05 11:12:21 -04:00
parent f455b7bf7a
commit d580331b31
No known key found for this signature in database
GPG key ID: 5019678FD9CF50D8

View file

@ -289,7 +289,7 @@ class Moderation(commands.Cog):
await self.mysql_log(interaction.guild.id, interaction.user.id, 'KICK', target.id, 'NULL', reason)
@app_commands.command(name="ban")
@app_commands.choices(answer=[
@app_commands.choices(delete_messages=[
Choice(name="None", value=0),
Choice(name='1 Hour', value=3600),
Choice(name='12 Hours', value=43200),