fix(aurora): fixed cancel button in importers
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
This commit is contained in:
parent
9cc0cae53b
commit
12f14984a2
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue