> For the complete documentation index, see [llms.txt](https://discortics.com/llms.txt). A consolidated single-file corpus is available at [llms-full.txt](https://discortics.com/llms-full.txt). Markdown versions of documentation and comparison pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://discortics.com/guides/automod-mentions.md).

# Mention Protection

Discord's AutoMod can block matching messages before they're posted. Discortics cannot replace Discord's protected Mention Spam rule; review **Server Settings → AutoMod** to manage it. See [Automoderation](/guides/autopilot) for permissions.

## Set up Mention Protection

### Dashboard Setup

1. Open **Dashboard → Moderator → AntiMention**.
2. Enable the protection.
3. Set the mention limits and `@everyone` behaviour.
4. Add any exceptions.
5. Save and test from a non-administrator account.

### Discord Command Setup

1. Run `/autopilot antimention`.
2. Select **Enable**.
3. In **Config**, use **Manage** beside each limit to set its value.
4. Review **Punishments**, and add exceptions in **Whitelist**.

## Settings

Each limit can be set from 1 to 50.

| Setting                     | What it counts or controls                   |
| --------------------------- | -------------------------------------------- |
| **Total Mention Limit**     | User, role, and channel mentions combined    |
| **User Mention Limit**      | Unique users                                 |
| **Role Mention Limit**      | Unique roles                                 |
| **Channel Mention Limit**   | Unique channels                              |
| **Everyone Allowed**        | Whether `@everyone` and `@here` are allowed  |
| **Mention Raid Protection** | Optionally adds Discord's own mention filter |

Set limits above your largest normal message. A total of 5 may suit a chat server but be too low for an event channel that pings several roles.

## Exceptions

Ignored users, roles, channels, and categories bypass this protection. Ignoring a category includes its channels and threads. Ignored users and roles don't count when they're mentioned.

> [!NOTE]
> Discord's own mention filter supports role and channel exemptions, but not individual users.

## Punishments

Open **Punishments** to set your steps. See [how punishments work](/guides/autopilot#punishments).

Compare plans and capabilities on the [Discord AutoMod & Anti-Raid overview](/features/autopilot).
