diff --git a/aurora/aurora.py b/aurora/aurora.py index 446c9a6..64987a6 100644 --- a/aurora/aurora.py +++ b/aurora/aurora.py @@ -1702,7 +1702,7 @@ class Aurora(commands.Cog): role = guild.get_role(role_id) if role is None: - raise discord.errors.NotFound + continue await member.remove_roles( role, reason=f"Automatic role removal from case #{moderation_id}" @@ -1732,7 +1732,7 @@ class Aurora(commands.Cog): role = guild.get_role(role_id) if role is None: - raise discord.errors.NotFound + continue await member.add_roles( role, reason=f"Automatic role addition from case #{moderation_id}"