From 12f14984a27c40c82f6ee2886f547253f2f13c62 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 28 Dec 2023 04:52:04 -0500 Subject: [PATCH] fix(aurora): fixed cancel button in importers --- aurora/importers/aurora.py | 2 +- aurora/importers/galacticbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 2f06d98..8270676 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -107,6 +107,6 @@ class ImportAuroraView(ui.View): async def import_button_n( self, interaction: Interaction, button: ui.Button ): # pylint: disable=unused-argument - await self.message.edit("Import cancelled.", view=None) + await self.message.edit(content="Import cancelled.", view=None) await self.message.delete(10) await self.ctx.message.delete(10) diff --git a/aurora/importers/galacticbot.py b/aurora/importers/galacticbot.py index a4d0e9f..1c7ae76 100644 --- a/aurora/importers/galacticbot.py +++ b/aurora/importers/galacticbot.py @@ -140,6 +140,6 @@ class ImportGalacticBotView(ui.View): @ui.button(label="No", style=ButtonStyle.danger) async def import_button_n(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument - await self.message.edit("Import cancelled.", view=None) + await self.message.edit(content="Import cancelled.", view=None) await self.message.delete(10) await self.ctx.message.delete(10)