Moderation
Moderation combines AutoMod (automatic filters for invites, links, spam, banned words and mass mentions) with manual tools for your staff (/warn, /kick, /ban, /mute, /timeout) and a numbered case log of everything that happened.
How it works#
- Every action — automatic or manual — becomes a numbered case that you can look up with
/case. - Warnings add up per member. After the threshold, the bot takes the action you chose (warn, mute, kick or ban).
- The member gets a DM explaining what happened and why, and the action is logged in your mod-log channel.
- @everyone protection removes unauthorised mass pings and can punish the sender; staff can be exempted.
Before you start#
/timeout, Discord's built-in mute).Set it up#
In the Studio sidebar, under SERVER MANAGEMENT, click Moderation.
Turn on Automod enabled and pick filters: Discord invites, all links, spam/flooding.
Type banned words separated by commas in Banned words and set the Max. mentions per message.
Under Action on violation choose Warn, Mute, Kick or Ban.
Open Mod-log channel and pick your staff-only channel.
Click Save changes.
Every setting explained#
Automatic filtering of messages.
| Automod enabled | Master switch. When off, this does nothing on your server; your settings are kept. |
| Filter Discord invites | Removes discord.gg links to other servers. |
| Filter links | Removes every link (except whitelisted ones where available). |
| Detect spam | Catches message floods and repeated messages. |
Remove messages that try to ping the whole server
| Delete @everyone / @here messages | Every message containing them is removed straight away, even when automod is off |
| Staff may use them | Members with Manage Messages are left alone |
| Also give a sanction | Uses the automod action (e.g. a warning); off = only delete with a short notice |
What automod reacts to and what it does
| Banned words | Comma-separated. Matching is case-insensitive. |
| Max. mentions per message | More mentions than this counts as a violation. |
| Action on violation | Warn, Mute, Kick or Ban. WarnMuteKickBan |
| Mute role | Used by Mute; it should deny Send Messages everywhere. |
| Mod-log channel | Every case is logged here. |
Choose which roles may use /clear and how many messages each one may delete at once — including messages older than 14 days, which the bot removes one by one. A member with multiple roles gets the highest max among them. Leave this list empty to fall back to Discord's own "Manage Messages" permission with no extra cap.
| Role | Members with this role are not filtered. |
| Max messages | How many messages in a short window count as spam. |
Old warnings don't count forever
| Warnings expire after | Old warnings stop counting toward the threshold. |
The mod-log channel is set on the Automod tab.
| Member gets a DM on warning, timeout, kick or ban (with reason and case number) | Members know why it happened. |
| Post every case to the mod-log channel (not only automod) | Includes manual /warn, /kick and /ban. |
| Also record bans, kicks and timeouts moderators do in Discord itself | So right-click actions also become cases. |
Commands#
/warnModerate MembersWarn a member
userrequiredMember to warnreasonrequiredReason/kickKick MembersKick a member
userrequiredMember to kickreasonReason/banBan MembersBan a member
userrequiredMember to banreasonReason/timeoutModerate MembersTime a member out (Discord's built-in timeout)
userrequiredMemberreasonReason/muteModerate MembersMute a member using the configured mute role
userrequiredMember to mutereasonReason/clearwarningsModerate MembersClear all warnings for a member
userrequiredMember/clearManage MessagesVerwijder een aantal recente berichten uit dit kanaal
/caseModerate MembersView or edit a moderation case
/reportEveryoneReport a member to staff
gebruikerrequiredMember to reportredenrequiredWhy are you reporting them?Examples#
When AutoMod removes a message, the member gets a DM like this:
Good to know#
/timeout for short cool-downs: it uses Discord's own timeout and needs no mute role.Troubleshooting#
The bot can't ban or kick someone
Banned words aren't removed
FAQ#
Can I see a member's history?
/case view.