fix(aurora): fixed an issue with the /case
command preventing the cog from loading
This commit is contained in:
parent
987fc0dbf8
commit
c28b089edb
1 changed files with 3 additions and 3 deletions
|
@ -1042,7 +1042,7 @@ class Aurora(commands.Cog):
|
|||
inline: bool
|
||||
Display infractions in a grid arrangement (does not look very good)
|
||||
export: bool
|
||||
Exports the server's entire moderation history to a JSON file"""
|
||||
Exports the server's moderation history to a JSON file"""
|
||||
if ephemeral is None:
|
||||
ephemeral = (
|
||||
await config.user(interaction.user).history_ephemeral()
|
||||
|
@ -1246,9 +1246,9 @@ class Aurora(commands.Cog):
|
|||
|
||||
@app_commands.command(name="case")
|
||||
@app_commands.choices(
|
||||
export=[
|
||||
Choice(name="Export as File", value="file"),
|
||||
raw=[
|
||||
Choice(name="Export as Codeblock", value="codeblock"),
|
||||
Choice(name="Export as File", value="file"),
|
||||
]
|
||||
)
|
||||
async def case(
|
||||
|
|
Loading…
Reference in a new issue