> ## Documentation Index
> Fetch the complete documentation index at: https://docs.myprotect-bot.fr/llms.txt
> Use this file to discover all available pages before exploring further.

# Auto-Moderation & Rule Enforcement

> Automated chat filters, token leak prevention, and strike ladders.

# AutoMod MyProtect

MyProtect's Auto-Moderation engine analyzes chat activity at wire speed, enforcing community rules without imposing fatigue on human moderators. From filtering malicious invite links to stopping message floods and credential leaks, AutoMod keeps conversations safe and productive.

***

## Content Filters

> [card] Anti-Links & Phishing
>
> Blocks unauthorized external URLs and unverified domains. Features a flexible domain allowlist for trusted partners and documentation sites.

> [card] Anti-Invites
>
> Prevents members from advertising other Discord servers by stripping invite codes (`discord.gg/...`, vanity URLs) from public channels.

> [card] Anti-Spam & Burst Limiter
>
> Detects repeated duplicate messages, emoji floods ($> 5$ emojis), excessive capitalized text ($> 70\%$ caps), and high-velocity message bursts.

> [card] Anti-Leak & Token Guard
>
> Scans for leaked API keys, Discord bot tokens, SSH private keys, and environment variables, instantly deleting the sensitive payload to protect user credentials.

***

## Progressive Strike System

Rather than issuing immediate permanent bans for minor infractions, AutoMod utilizes a graduated **Strike Ladder**:

```text theme={null}
Infraction 1  ───►  [ Verbal Warning Embed in DM/Channel ]
Infraction 2  ───►  [ Temporary Timeout: 10 minutes ]
Infraction 3  ───►  [ Extended Timeout: 1 hour ]
Infraction 4  ───►  [ Automatic Kick from Server ]
Infraction 5  ───►  [ Permanent Ban + Incident Log ]
```

Administrators can customize the strike expiration window (e.g., strikes reset every 7 or 30 days) and designate specific escalation penalties per filter category.

***

## Slash Commands for Moderation

Staff members can manually manage server discipline with sub-second response times:

| Command | Usage | Description |
| :- | :- | :- |
| `/warn` | `/warn @member reason:...` | Logs an official warning and notifies the user via DM |
| `/mute` | `/mute @member duration:1h reason:...` | Places member in Discord timeout |
| `/unmute` | `/unmute @member reason:...` | Revokes an active timeout |
| `/kick` | `/kick @member reason:...` | Ejects the member while allowing re-entry |
| `/ban` | `/ban @member days:7 reason:...` | Permanently bans member and purges recent messages |
| `/purge` | `/purge count:50 filter:bots` | Mass-deletes messages matching optional filters |
| `/nuke` | `/nuke` | Clones and re-creates channel to clear deep history |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.