#Editing messages ignores automod
38 messages · Page 1 of 1 (latest)
This is not a bug unless it allows embedding content when you're missing the permission to
I have discord auto mod rules on my server but it bypass them
it should check if it break auto mod rules or not
It's not possible to do that within Discord's limitations unfortunately. I've previously brought it up with them
I saw YAGPDB bot advanced auto mod had a trigger option if message breaks discord auto mod rule id (empty for all)
I think its possible
Not for Discord's built in automod rules at least
Which is what I'd want if I were adding it
rn with this bug you can terminate any server
by editing a message that is very old and no one checks it
and reporting it to discord after edit
They do check for context with such things. The message includes a timestamp for when it was edited
can I setup logs for nqn edited messages?
that can prevent this
You can upvote this discussion here where I've requested the feature to Discord: https://github.com/discord/discord-api-docs/discussions/6330
If that gets in, I'll add support for automod
Ok
what language the bot written?
A mix of Python and Rust
oh also you can use this I think https://discord.com/developers/docs/resources/auto-moderation
That's for the management side of it
you can use it to get the auto mod rules of server then you can make your own detection system for it
I can't do that for 1 million servers. It does not scale
oh right
Simply getting the rules for all servers on startup would take over 5.5 hours, even if the bot wasn't doing anything at all
Editing messages ignores automod
you can make your own auto mod system for bot then? 🤔
I'd much rather not
is there any API for NQN so I can get author of message id for a custom bot to block these?
or even the message is send by NQN
In theory you could hook something up to the #audit_logs channel you create.
But there is no public API or anything as nobody's really asked for one
it can be helpful at this point
this is example of this