diff --git a/aurora/importers/aurora.py b/aurora/importers/aurora.py index 9c85056..d644ddd 100644 --- a/aurora/importers/aurora.py +++ b/aurora/importers/aurora.py @@ -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 diff --git a/aurora/importers/galacticbot.py b/aurora/importers/galacticbot.py index e76e423..29699e3 100644 --- a/aurora/importers/galacticbot.py +++ b/aurora/importers/galacticbot.py @@ -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