Automod
RaidProtect's Automod brings together the filters that automatically remove unwanted content as soon as it is posted. Each filter has its own sanction for the message's author.
To open it:
- Run the
/settingscommand. - Open the "Protection" tab.
- Click "Configure" next to "Automod".
🖼️ Scam images
The Images filter deletes known scam images (crypto scams, fake giveaways, fake casino promotions) and sanctions their author. It is enabled by default, with nothing to configure.
All the details, the sanction and the image catalog are on the Scam images page.
🔗 Other servers
The Other servers filter controls what points to other Discord servers: invites, forwarded messages, channel links and event links, as well as the server tags displayed by your members. It blocks wild advertising and competing or malicious servers, without affecting your partners.
How does it work?
Three behaviors are set separately, each on one of these modes:
- "Disabled": nothing is filtered.
- "Blocklist": the servers on the list are refused, the others get through.
- "Allowlist": only the servers on the list get through, all the others are refused.
| Behavior | What happens if it is refused |
|---|---|
| Invite | The message containing the invite is deleted. ptb. and canary. links count too, and invites hidden in an embed, a component or a forwarded message are read, as are messages edited afterward. |
| Forwarded message or channel link | The message forwarded from that server, or containing a link to one of its channels or events, is deleted. |
| Displayed server tag | The member is put in quarantine with the Jail role. It is lifted as soon as they remove the tag. |
Your own server always gets through, by any of its invites, and your team (Manage Server or Manage Messages permissions) is never targeted.
Configuration
- In Automod, click "Configure" next to "Other servers".
- Enable the filter with the switch at the top right, then choose a mode for each behavior.
Friend and group invites Premium
A friend or private group invite leads to no server. Under the "Invite" mode (as soon as it is not on "Disabled"), the "Friend and group invites" selector sets their fate separately:
- "Follow the list" (default): they get through with a blocklist and are deleted with an allowlist.
- "Always allowed": accepted, whatever the list.
- "Always removed": deleted, whatever the list.
Without Premium, they always follow the list.
If you leave the screen of a filter you modified without enabling it, RaidProtect offers to enable it before you go ("Leave disabled" is preselected).
Sanction
Each refused message is deleted. In "Sanction for deleted messages", also choose a sanction for its author, or "Message deleted only". For a timeout, a mute, a jail or a ban, also choose its duration.
The sanction applies at most once per minute and per member: a member who pastes several invites in a row is only sanctioned once.
Ignored channels
In "Ignored channels and categories", choose up to 25 channels or categories where the filter lets everything through, for example your partnerships channel. No message from these channels, their threads or the channels of these categories is deleted or sanctioned. Announcement channels and forums can also be chosen.
The check of the displayed server tag stays active everywhere: it targets the member, not the channel they write in.
On Premium servers, where the Identity Update is in public beta, ignored channels move to an "Exceptions" screen, which adds ignored roles and ignored members (25 at most each). A message from an ignored member, or from a member with an ignored role, is neither deleted nor sanctioned. Handy for a team member who posts your partners' invites without having the Manage Messages permission. Planned for version 3.7.0.
Server lists
- Click "Add a server".
- Paste a still-valid invite to the server (e.g.,
discord.gg/example): its name and ID are read from it. An ID alone is no longer accepted. - Choose the list: blocklist or allowlist.
A server that is already present simply changes list. "Remove" takes one or more servers off the lists.
Limits: 25 servers in total across both lists.
To only allow your partners' invites, set "Invite" to "Allowlist" and add your partners to the allowlist. An empty allowlist refuses all invites to other servers.
Logs
Each sanction and each quarantine is noted in your moderation logs, with the server and channel concerned. A message deleted without a sanction ("Message deleted only") is also noted. Sanctions appear in the sanctions history, with the reasons "Invite to a refused server", "Friend or group invite refused" (Premium), "Forwarded message or channel link from a refused server" or "Tag of a refused server".
📎 File extensions
The File extensions filter deletes files whose extension is refused. You can block certain extensions (blocklist) or only allow certain ones (allowlist), server-wide or channel by channel. Your team (Manage Server or Manage Messages permissions) is never targeted.
Files in a forwarded message count too, and a thread follows its channel's rules.
Configuration
- In Automod, click "Configure" next to "File extensions".
- Enable the filter with the switch at the top right.
- Under "Whole server", choose a mode: "Disabled", "Blocklist" or "Allowlist".
- Check groups (Executables, Images, Videos, Audio, Archives, Documents) and/or enter other extensions separated by commas, for example
exe, msi. The dot is optional. A rule accepts 50 free-form extensions at most, in addition to the groups.
An allowlist with no extension accepts no file: any file sent is deleted.
Rules per channel and per category
Click "Add a channel" to give a rule to a channel, a thread or a category. A category rule applies to all its channels.
Rules add up, except for an extension named by several rules: the most specific rule decides (channel, then category, then server). For example, an .exe allowed in a channel gets through despite the server's blocklist. An extension that no rule names gets through all the rules.
| Free | Premium | |
|---|---|---|
| Rules per channel | 1 (the first channel set) | 20 channels or categories |
| Category rule | No | Yes |
Without Premium, the extra rules are kept but inactive.
Corrupted files
A file renamed to pass itself off as an image or a video (an .exe renamed to .png) is recognized: Discord cannot read it as a real image. An allowlist always refuses it. The "Always refuse corrupted files" option also deletes it in all channels, even without an allowlist.
Sanction
Each refused file is deleted along with its message. In "Sanction for deleted messages", also choose a sanction for its author, or "Message deleted only". The sanction applies at most once per minute and per member.
Each deleted message is noted in your moderation logs, with the file, the channel and the extension at fault. Sanctions appear in the sanctions history with the reason "File with a refused extension".
Frequently asked questions
Can my partners still share their invite?
Yes. Add them to the Other servers filter's allowlist, or leave them off the blocklist. You can also ignore the channel where you post your partnerships.
What happens when a member removes the refused tag?
Their quarantine is lifted automatically.
Are moderators filtered?
No. Members who have the Manage Server or Manage Messages permission are never targeted by the Other servers filter.
Automod
Images
Other servers
Support Server
Documentation
Allowlist
Friend and group DM invites, set separately with premium
Follow the list
Disabled
Displayed server tag
Blocklist
Sanction for deleted messages
Timeout
1 day
Blocklist (1)
Allowlist (1)
Entire server
Always refuse corrupted files
Channels and categories (1)
Message deleted only