fix(aurora): fixed an issue with the /case command preventing the cog from loading

This commit is contained in:
Seaswimmer 2024-06-30 05:02:32 -04:00
parent 987fc0dbf8
commit c28b089edb
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -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(