fix(moderation): fixed choices in ban command
All checks were successful
Pylint / Pylint (push) Successful in 1m11s
All checks were successful
Pylint / Pylint (push) Successful in 1m11s
This commit is contained in:
parent
f455b7bf7a
commit
d580331b31
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class Moderation(commands.Cog):
|
||||||
await self.mysql_log(interaction.guild.id, interaction.user.id, 'KICK', target.id, 'NULL', reason)
|
await self.mysql_log(interaction.guild.id, interaction.user.id, 'KICK', target.id, 'NULL', reason)
|
||||||
|
|
||||||
@app_commands.command(name="ban")
|
@app_commands.command(name="ban")
|
||||||
@app_commands.choices(answer=[
|
@app_commands.choices(delete_messages=[
|
||||||
Choice(name="None", value=0),
|
Choice(name="None", value=0),
|
||||||
Choice(name='1 Hour', value=3600),
|
Choice(name='1 Hour', value=3600),
|
||||||
Choice(name='12 Hours', value=43200),
|
Choice(name='12 Hours', value=43200),
|
||||||
|
|
Loading…
Reference in a new issue