diff --git a/aurora/configuration/embed.py b/aurora/configuration/embed.py index 179b7f5..1fd78aa 100644 --- a/aurora/configuration/embed.py +++ b/aurora/configuration/embed.py @@ -1,4 +1,4 @@ -from discord import Embed, Guild +from discord import Embed from redbot.core import commands from redbot.core.utils.chat_formatting import bold, error, warning diff --git a/aurora/configuration/menus/addrole.py b/aurora/configuration/menus/addrole.py index d5a61bb..a28ba9c 100644 --- a/aurora/configuration/menus/addrole.py +++ b/aurora/configuration/menus/addrole.py @@ -25,7 +25,7 @@ class Addrole(ui.View): await interaction.message.edit(embed=await addrole(self.ctx)) @ui.button(label="Clear", style=ButtonStyle.red, row=1) - async def clear(self, interaction: Interaction, button: ui.Button): + async def clear(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument if not interaction.user.guild_permissions.manage_guild and not interaction.user.guild_permissions.administrator: await interaction.response.send_message(error("You must have the manage guild permission to clear the guild's addrole whitelist."), ephemeral=True) return diff --git a/aurora/configuration/menus/immune.py b/aurora/configuration/menus/immune.py index 34f096b..49df36a 100644 --- a/aurora/configuration/menus/immune.py +++ b/aurora/configuration/menus/immune.py @@ -26,7 +26,7 @@ class Immune(ui.View): await interaction.message.edit(embed=await immune(self.ctx)) @ui.button(label="Clear", style=ButtonStyle.red, row=1) - async def clear(self, interaction: Interaction, button: ui.Button): + async def clear(self, interaction: Interaction, button: ui.Button): # pylint: disable=unused-argument if not interaction.user.guild_permissions.manage_guild and not interaction.user.guild_permissions.administrator: await interaction.response.send_message(error("You must have the manage guild permission to clear the guild's immune roles."), ephemeral=True) return