fix(aurora): pylint fixes
This commit is contained in:
parent
98396c17e2
commit
bd3a08fe97
7 changed files with 22 additions and 25 deletions
|
@ -18,7 +18,7 @@ class ImportAuroraView(ui.View):
|
|||
@ui.button(label="Yes", style=ButtonStyle.success)
|
||||
async def import_button_y(
|
||||
self, interaction: Interaction, button: ui.Button
|
||||
):
|
||||
): # pylint: disable=unused-argument
|
||||
await self.message.delete()
|
||||
await interaction.response.send_message(
|
||||
"Deleting original table...", ephemeral=True
|
||||
|
@ -107,7 +107,7 @@ class ImportAuroraView(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(content="Import cancelled.", view=None)
|
||||
await self.message.delete(10)
|
||||
await self.ctx.message.delete(10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue