diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 7810c4d..468eb25 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -129,13 +129,12 @@ class ImportAuroraView(ui.View): with open(filename, "w", encoding="utf-8") as f: dump(obj=failed_cases, fp=f, indent=2) - await interaction.edit_original_response( + await interaction.channel.send( content="Import complete.\n" + warning("Failed to import the following cases:\n"), - attachments=[File( + file=File( filename, f"failed_cases_{interaction.guild.id}.json" ) - ] ) os.remove(filename)