Moderation
Moderate a Discord server with Bearsong: blocked phrase, invite and link filters, warnings, Discord AutoMod rules, member history and raid protection.
Discord botLast updated
Give your moderators help with the busy work. The bot removes messages with blocked phrases, invites or links, keeps count of warnings, copies your rules into Discord's own AutoMod and steps in when a raid starts. These tools support your team; they do not catch everything.
Where to find it#
Open Safety > Moderation and choose the Discord tab, which is titled Discord safety. Choose your server in the top bar. The page has four sections, listed under Safety tools at the top: Filters and rules, AutoMod rules, Members and Server protection.
The Discord logs tab sends server events, such as edits, joins and role changes, to the channels you choose. See Logging. Twitch chat has its own tools on the Twitch tab; see Twitch moderation.
Set up moderation#
- Under Filters and rules, turn on Moderation for the server.
- Turn on the filters you want, then choose Edit on Blocked phrases to add your list.
- Edit Warnings and timeout to set how many warnings lead to an automatic timeout.
- Edit Logging and exemptions to choose a Moderation log channel and any channels or roles the filters should skip.
- Choose Review changes, then Confirm settings.
- Add AutoMod rules and server protection if you want them.
Filters and rules#
This section shows how many phrases are blocked, how many filters are on and how many warnings lead to a timeout. There are three filters:
- Filter blocked phrases removes messages that contain a phrase on your list. A phrase matches anywhere in a message, ignoring case. Add one phrase per line.
- Filter Discord invites removes messages with Discord invite links.
- Filter web links removes messages with web links.
When a filter removes a message, the bot posts a short note to the member that disappears after five seconds, records a warning and counts it towards an automatic timeout. Messages from bots are never filtered. Changes apply to future messages.
The filters need the bot to have the Manage Messages permission, and automatic timeouts also need Moderate Members.
Warnings and timeout#
- Warnings before automatic timeout: from 1 to 25.
- Automatic timeout duration (minutes): up to 40,320, which is four weeks. Set it to 0 to turn automatic timeouts off.
- Warning expiry (days): leave it empty so warnings never expire.
Mute role#
Under Warnings and timeout, choose the Mute role for manual mute commands. The bot gives this role when staff use /mute and takes it away with /unmute. Set the role's channel permissions in Discord so it cannot send messages.
Action log#
Under Logging and exemptions, choose a Moderation log channel where the bot posts moderation actions. Staff can also look up one member's history in the Members section.
Exempt channels and roles#
Also under Logging and exemptions, choose Exempt channels and Exempt roles. The filters skip messages in those channels and from members with those roles, such as your moderators.
AutoMod rules#
AutoMod rules run in Discord's own AutoMod, so Discord checks each message as it is sent. Turn on Automod for the server, then choose New AutoMod rule. The bot copies switched-on rules to Discord about once a minute, which needs the Manage Server permission.
| What it looks for | What it catches | Rules allowed per server |
|---|---|---|
| Blocked words and phrases | Words, phrases or patterns you list. Add * to match part of a word. | 6 |
| Suspected spam | Messages Discord itself thinks are spam. | 1 |
| Discord word lists | Discord's lists for swearing, sexual content and slurs. | 1 |
| Mention spam | Messages that mention more people and roles than your limit, 1 to 50. | 1 |
Each rule can Stop the message being sent, with an optional note to the member, Send an alert to a channel and, for blocked words and mention spam, Time the member out. You can also choose roles and channels the rule ignores and, for word rules, Allowed words that are never blocked.
A rule's type cannot change once it is created. Deleting a rule removes the bot's copy in Discord within about five minutes.
Members#
- Member history looks up one member and shows what staff have done about them, such as warnings, timeouts and bans. It shows the latest 200 actions.
- Recent actions lists the newest moderation actions in the server. Use Show to filter by type.
Server protection#
Anti-raid#
Anti-raid watches how fast new members join. When the number of joins you set arrive within the time you set, the bot locks the server down for a while. Turn on Anti-raid for the server, then Protect against raids.
- Joins that count as a raid: 3 to 50, starting at 10.
- Within (seconds): 5 to 60, starting at 10.
- Lockdown length (minutes): 5 to 60, starting at 10.
- During a lockdown: Stop everyone sending messages, Raise the server verification level and Turn on slow mode in text channels.
- Raid log channel: where the bot reports raids and lockdowns.
A lockdown affects your whole server. The Raid log on the page lists recent raids and lockdowns. Staff with Manage Server can check the state with /antiraid-status and end a lockdown early with /antiraid-lift.
Anti-nuke#
Anti-nuke watches for one person deleting channels or roles, banning or kicking members, or creating webhooks faster than normal. When they pass a limit within the time you set, the bot removes their roles that carry powerful permissions, such as Administrator or Ban Members, and posts an alert. It does not ban or kick them.
Turn on Protect against mass deletion, set Within (seconds) from 10 to 300 and set a limit from 1 to 50 for each action. Choose an Alert channel and any Trusted members the bot should never act against. The server owner is never affected. The bot needs the View Audit Log permission to see who did what, and its role must sit above the roles it removes.
Verification#
Verification asks new members to prove they are real before they get your verified role. Turn on Verification for the server, then Require verification.
- How members verify: Press a button (quick) or Answer a maths question (stronger).
- Minimum account age (days): 0 to 90. With Remove accounts that are too new on, younger accounts are removed; with it off, they are only flagged in the raid log.
- Role for verified members and Verification channel.
- Welcome message: the text on the verification panel.
Run /verify-panel in Discord to post the panel in the verification channel. Then set your channel permissions so that only the verified role can see the rest of the server. Waiting to verify lists members who have not finished yet.
Staff commands#
| Command | What it does | Who can use it |
|---|---|---|
/warn | Warns a member. Warnings count towards an automatic timeout. | Manage Messages |
/timeout | Times a member out, from 1 to 40,320 minutes. The default is 10. | Moderate Members |
/mute and /unmute | Gives or removes the mute role, for a number of minutes or until removed. | Moderate Members |
/unban | Removes a ban, using the member's user ID. | Ban Members |
/modlogs | Shows a member's moderation history. | Manage Messages |
!kick and !ban | Kicks or bans a member. | Kick or Ban Members |
!purge | Deletes a number of recent messages in the channel. | Manage Messages |
The slash commands work while Moderation is on for the server.
Common questions#
Will it stop all spam?#
No tool does. Filters and rules act on the phrases, patterns and limits you set, so treat them as support for your moderators, not a replacement.
What permissions does the bot need?#
Manage Messages for filters, Moderate Members for timeouts, Manage Roles for the mute role, Manage Server to copy AutoMod rules and View Audit Log for anti-nuke. Give the bot what the tools you turn on need.
Why is a new AutoMod rule not working yet?#
The bot copies rules to Discord about once a minute, so give a new rule a minute before you test it. Check that Automod is on and the rule's Switch this rule on is ticked.
Is it free?#
The core of Bearsong is free. Premium is coming soon and will be optional. Moderation tools do not need Premium.