fix(aurora): actually fixed pylint error

This commit is contained in:
Seaswimmer 2024-02-03 13:44:08 -05:00
parent 09ce2c7d73
commit 3506274a2a
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063
2 changed files with 2 additions and 2 deletions

View file

@ -9,6 +9,7 @@ from redbot.core.utils.chat_formatting import box, warning
from ..utilities.database import connect, create_guild_table, mysql_log
# pylint: disable=duplicate-code
class ImportAuroraView(ui.View):
def __init__(self, timeout, ctx, message):
super().__init__()
@ -19,7 +20,6 @@ class ImportAuroraView(ui.View):
async def import_button_y(
self, interaction: Interaction, button: ui.Button
): # pylint: disable=unused-argument
# pylint: disable=duplicate-code
await self.message.delete()
await interaction.response.send_message(
"Deleting original table...", ephemeral=True

View file

@ -8,6 +8,7 @@ from redbot.core.utils.chat_formatting import box, warning
from ..utilities.database import connect, create_guild_table, mysql_log
# pylint: disable=duplicate-code
class ImportGalacticBotView(ui.View):
def __init__(self, timeout, ctx, message):
super().__init__()
@ -18,7 +19,6 @@ class ImportGalacticBotView(ui.View):
async def import_button_y(
self, interaction: Interaction, button: ui.Button
): # pylint: disable=unused-argument
# pylint: disable=duplicate-code
await self.message.delete()
await interaction.response.send_message(
"Deleting original table...", ephemeral=True