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
|
inline: bool
|
||||||
Display infractions in a grid arrangement (does not look very good)
|
Display infractions in a grid arrangement (does not look very good)
|
||||||
export: bool
|
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:
|
if ephemeral is None:
|
||||||
ephemeral = (
|
ephemeral = (
|
||||||
await config.user(interaction.user).history_ephemeral()
|
await config.user(interaction.user).history_ephemeral()
|
||||||
|
@ -1246,9 +1246,9 @@ class Aurora(commands.Cog):
|
||||||
|
|
||||||
@app_commands.command(name="case")
|
@app_commands.command(name="case")
|
||||||
@app_commands.choices(
|
@app_commands.choices(
|
||||||
export=[
|
raw=[
|
||||||
Choice(name="Export as File", value="file"),
|
|
||||||
Choice(name="Export as Codeblock", value="codeblock"),
|
Choice(name="Export as Codeblock", value="codeblock"),
|
||||||
|
Choice(name="Export as File", value="file"),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
async def case(
|
async def case(
|
||||||
|
|
Loading…
Reference in a new issue