We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc7db2d commit 2a22d6cCopy full SHA for 2a22d6c
tux/cogs/moderation/jail.py
@@ -156,7 +156,7 @@ async def jail(
156
if user_roles:
157
try:
158
# Try to remove all at once for efficiency
159
- await member.remove_roles(*user_roles, reason=flags.reason, atomic=False)
+ await member.remove_roles(*user_roles, reason=flags.reason)
160
except Exception as e:
161
logger.warning(
162
f"Failed to remove all roles at once from {member}, falling back to individual removal: {e}",
0 commit comments