WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit c28b089edb - Show all commits

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(