Fixing Discord Auto-Mod Permission Errors

Summary

The CommunityOne Builders Help server is currently investigating a recurring issue where auto-mod bots fail to timeout users despite having administrator privileges and correct role hierarchy. This discussion highlights a widespread bug affecting multiple servers, causing confusion regarding permission settings. The community is actively tracking this issue and working on internal fixes to resolve these persistent auto-mod errors.

coralforest-79 OP

Hey, we just hit a weird issue with the auto-mod. The bot tried to timeout a user for spamming but failed, showing a "missing permission or higher role" error.

To test if it was actually a permission issue, I gave the bot full Administrator privileges, and its role is already way higher than the user in the hierarchy—but it still gives the exact same error. Any idea why this is happening?

Fixing Discord Auto-Mod Permission Errors

ironlizard-68

This is correct! Thanks for helping out!

ironlizard-68

https://klipy.com/gifs/no-u-reverse-card-1

@coralforest-79 Hey, we just hit a weird issue with the auto-mod. The bot tried to timeout a user for spamming but…
happybeacon-37

it looks like that we have this issue on our own server too, we are looking into it

coralforest-79 OP

Yes, they are really good:1townfire:

@happybeacon-37 it looks like that we have this issue on our own server too, we are looking into it
coralforest-79 OP

good to know it's not just us. To be honest, I've been seeing this happen for over two weeks now, but I just assumed I messed up the permissions on my end!:pepehmmm:

coralforest-79 OP

Oh, and what about my idea here?
I think it could be really useful https://discord.com/channels/943932308283588628/1519646229628452874/1519646229628452874

coralforest-79 OP

Oh, and what about my idea here?
I think it could be really useful

coralforest-79 OP

It seems the bot doesn't like me sending a link to a message
But I mean the idea I wrote in the other room

coralforest-79 OP

Fixing Discord Auto-Mod Permission Errors

@coralforest-79 good to know it's not just us. To be honest, I've been seeing this happen for over two weeks now, b…
happybeacon-37

omg me too, i noticed it last week, i changed the permissions of our server and I didnt notice that its not working until just now

@coralforest-79 ![image](https://cdn.discordapp.com/attachments/1528764588739530953/1528862127182319667/image.png?e…
happybeacon-37

somehow I missed it! Yep, this is a good detail, i made a issue internally, i think this will be pushed soon

coralforest-79 OP

olso, I noticed another weird bug with the auto-mod. In the log, the AI explicitly states: "This image does not contain any rule-breaking content", but right below it, it still deletes the message and gives the user a quarantine role.

It's contradicting itself—it flags the image as fine, but punishes the user anyway:1465105631336988753:

Fixing Discord Auto-Mod Permission Errors - Image 1
Fixing Discord Auto-Mod Permission Errors - Image 2

@coralforest-79 olso, I noticed another weird bug with the auto-mod. In the log, the AI explicitly states: "This im…
sharpquartz-72

Oh thank you for reporting this! Did you perhaps get to see the image itself?

sharpquartz-72

Most likely the image was indeed breaking some rule but we need to keep working on improving the explanation part.

@sharpquartz-72 Most likely the image was indeed breaking some rule but we need to keep working on improving the ex…
coralforest-79 OP

That's actually the problem—I can't see the images at all. Every time I click the image link in the logs, it just gives an error (ERR_INVALID_RESPONSE) because Discord breaks the deleted file links.

So right now, I'm forced to rely solely on the AI description. That's why it's so confusing when the AI description says "This image does not contain any rule-breaking content", but the bot still quarantines the user and we have no way to view the actual image to check what happened.

coralforest-79 OP

As a solution, a lot of bots fix this by having the bot download/mirror the deleted file and re-uploading it directly as a new attachment into a private log channel.

That way, even if Discord deletes the original message link, the staff can still see the image in the log channel and review the AI's decision

coralforest-79 OP

Not sure if I already reported this or suggested it before:dushy_gang:

@coralforest-79 As a solution, a lot of bots fix this by having the bot download/mirror the deleted file and re-upl…
happybeacon-37

yeah we are looking info this issues, we dont really wanna download the images, because there is a signficnat liabilities if we accidentially download csma materials onto our server

happybeacon-37

and worse...distribute it a second place..

@happybeacon-37 yeah we are looking info this issues, we dont really wanna download the images, because there is a…
coralforest-79 OP

Makes total sense, didn't think about the legal/CSAM side.:1465105631336988753:

coralforest-79 OP

The problem with the image crashing is from Discord
So there doesn't seem to be anything to do.

The latest from CommunityOne Builders Help