diff --git a/aurora/aurora.py b/aurora/aurora.py index 5accf86..98fb515 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -602,7 +602,7 @@ class Aurora(commands.Cog): os.remove(filename) except json.JSONDecodeError as e: - await interaction.followup.send(content=error(f"An error occured while exporting the moderation history.\nError:\n") + box(e, 'py'), ephemeral=ephemeral) + await interaction.followup.send(content=error("An error occured while exporting the moderation history.\nError:\n") + box(e, 'py'), ephemeral=ephemeral) cursor.close() database.close() return