From 4d8aa465b11e1a425e30252e20e2321b2bb8e9a6 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Tue, 16 Jan 2024 13:44:19 +0000 Subject: [PATCH] fix(aurora): changed color of close buttons to gray instead of red --- aurora/configuration/menus/addrole.py | 2 +- aurora/configuration/menus/immune.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aurora/configuration/menus/addrole.py b/aurora/configuration/menus/addrole.py index 1ca91a1..d5a61bb 100644 --- a/aurora/configuration/menus/addrole.py +++ b/aurora/configuration/menus/addrole.py @@ -33,7 +33,7 @@ class Addrole(ui.View): await config.guild(self.ctx.guild).addrole_whitelist.clear() await interaction.message.edit(embed=await addrole(self.ctx)) - @ui.button(label="Close", style=ButtonStyle.red) + @ui.button(label="Close", style=ButtonStyle.gray) async def close(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 can't do that!"), ephemeral=True) diff --git a/aurora/configuration/menus/immune.py b/aurora/configuration/menus/immune.py index 933b5bd..34f096b 100644 --- a/aurora/configuration/menus/immune.py +++ b/aurora/configuration/menus/immune.py @@ -34,7 +34,7 @@ class Immune(ui.View): await config.guild(self.ctx.guild).immune_roles.clear() await interaction.message.edit(embed=await immune(self.ctx)) - @ui.button(label="Close", style=ButtonStyle.red) + @ui.button(label="Close", style=ButtonStyle.gray) async def close(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 can't do that!"), ephemeral=True)