diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 1e9be5e..67e9ad3 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -101,7 +101,7 @@ class ImportAuroraView(ui.View): await interaction.edit_original_response(content="Import complete.") if failed_cases: await interaction.edit_original_response( - content=f"Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases) + content="Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases) ) @ui.button(label="No", style=ButtonStyle.danger) diff --git a/aurora/importers/galacticbot.py b/aurora/importers/galacticbot.py index ea6c424..5d254c1 100644 --- a/aurora/importers/galacticbot.py +++ b/aurora/importers/galacticbot.py @@ -137,7 +137,7 @@ class ImportGalacticBotView(ui.View): await interaction.edit_original_response(content="Import complete.") if failed_cases: - await interaction.edit_original_response(content=f"Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases)) + await interaction.edit_original_response(content="Import complete.\n" + warning("Failed to import the following cases:\n") + box(failed_cases)) @ui.button(label="No", style=ButtonStyle.danger) async def import_button_n(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument