# Spam Detection

Detect repeated messages, message flooding, mention spam, and emoji abuse.

## Detection Methods

| Type | How It Works | Default Threshold |
| --- | --- | --- |
| Message Flooding | Triggers when a user sends too many messages in a short window. | 5 messages in 4 seconds |
| Duplicate Messages | Flags identical or near-identical messages sent repeatedly. | 3 identical messages in 10 seconds |
| Mention Spam | Detects mass-mentioning of users or roles in a single message. | 5+ unique mentions per message |
| Emoji Spam | Catches messages consisting primarily of emojis or stacked emoji walls. | 15+ emojis per message |

## Configuration

Navigate to **Dashboard -> Auto Moderation -> Spam Detection**. Each detection method can be individually toggled and its thresholds customised.

1

1. **Enable Spam Detection**: Toggle the master switch at the top of the Spam Detection panel.

2

2. **Set Thresholds**: Adjust the message count, time window, or mention limit per detection type.

3

3. **Choose Actions**: Select what happens when spam is detected: delete, warn, timeout, or escalate.

4

4. **Add Exemptions**: Exclude specific channels or roles from spam scanning.

> Spam thresholds are per-user, per-channel. A user spamming in two channels simultaneously will trigger in both.