> 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-spam.md).

# Spam Protection

Spam Protection watches how fast a member posts and whether they repeat themselves. For oversized or emoji-heavy messages, use [Flood Protection](/guides/automod-flood). See [Automoderation](/guides/autopilot) for permissions.

## Set up Spam Protection

### Dashboard Setup

1. Open **Dashboard → Moderator → AntiSpam**.
2. Enable the protection.
3. Keep **Discord Spam Baseline** on.
4. Review the duplicate and repeated-message limits.
5. Choose exceptions and punishments.
6. Save and test from a non-administrator account.

### Discord Command Setup

1. Run `/autopilot antispam`.
2. Select **Enable**.
3. In **Config**, turn Discord Spam Protection, stickers, and threads on or off.
4. Use **Manage** beside each limit to set its count and time window.
5. Review **Punishments**, and add exceptions in **Whitelist**.

## Settings

| Setting                   | What it does                                                                           |
| ------------------------- | -------------------------------------------------------------------------------------- |
| **Discord Spam Baseline** | Adds Discord's own spam filter                                                         |
| **Duplicate Messages**    | Limits similar messages in a time window, such as 5 in `10s`. Repeated lines count too |
| **Repeated Messages**     | Limits all messages in a time window. Default `8/5s`                                   |
| **Include Stickers**      | Counts sticker-only messages                                                           |
| **Include Threads**       | Also checks public, private, and announcement threads                                  |

## Exceptions

Ignored users, roles, channels, and categories bypass these checks. Exempt bots or automation only if they regularly go over your limits.

## Honeypot

The **Honeypot** tab in `/autopilot antispam` works separately from Spam Protection. Read the [Honeypot guide](/guides/automod-honeypot) before turning it on.

## Punishments

**Discord Spam Baseline** uses Discord's managed Spam rule, which blocks messages before posting and may need review in **Server Settings → AutoMod** if a rule conflict appears. Duplicate and repeated-message checks run through Discortics and use its punishment steps.

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