Skip to content

Commit

Permalink
added break
Browse files Browse the repository at this point in the history
  • Loading branch information
FirePlank committed Dec 1, 2023
1 parent 4d6e3a3 commit efcae3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/extensions/selectable_roles/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efcae3b

Please sign in to comment.