Skip to content

Commit 2a22d6c

Browse files
RainzDevkzndotsh
authored andcommitted
turned on atomic due to cache issues
1 parent dc7db2d commit 2a22d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tux/cogs/moderation/jail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ async def jail(
156156
if user_roles:
157157
try:
158158
# Try to remove all at once for efficiency
159-
await member.remove_roles(*user_roles, reason=flags.reason, atomic=False)
159+
await member.remove_roles(*user_roles, reason=flags.reason)
160160
except Exception as e:
161161
logger.warning(
162162
f"Failed to remove all roles at once from {member}, falling back to individual removal: {e}",

0 commit comments

Comments
 (0)