From efcae3bdba6de2208c115d68bcc71b1945c09439 Mon Sep 17 00:00:00 2001 From: FirePlank <44502537+FirePlank@users.noreply.github.com> Date: Fri, 1 Dec 2023 21:34:13 +0200 Subject: [PATCH] added break --- bot/extensions/selectable_roles/commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/extensions/selectable_roles/commands.py b/bot/extensions/selectable_roles/commands.py index 5c84eb74..755e40db 100644 --- a/bot/extensions/selectable_roles/commands.py +++ b/bot/extensions/selectable_roles/commands.py @@ -110,6 +110,7 @@ async def remove( for i, role_ in enumerate(self.roles[interaction.guild.id]): if role_.id == role.id: del self.roles[interaction.guild.id][i] + break await interaction.response.send_message( f"Successfully removed {role.mention} from the database!", ephemeral=True