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

# Protection

> Choose how strict collony.ai is with one setting, then fine-tune scam rules, blocklists, impersonation and Surge Guard.

The Protection page controls what the bot stops on its own. Open it from **Protection** in the sidebar. It has two views, **Simple** and **Advanced**. Switch between them at the top of the page.

![Protection page in Simple view with the How strict levels, last 7 days and the protection layers](https://mintcdn.com/collonyai/lKiNRX1ZXqxzqSsi/images/app/protection.png?fit=max\&auto=format\&n=lKiNRX1ZXqxzqSsi\&q=85\&s=3522cb49696ebb4581156b4d2f0827f4)

## Simple view

### How strict

One choice sets enforcement, impersonation, Surge Guard, media checks and cleanup together. Your AI rules and blocklists stay as you set them.

| Level | What it does |
| - | - |
| **Relaxed** | Asks you before any ban. Short mutes, fewer checks. |
| **Balanced** (recommended) | Deletes, mutes and bans repeat offenders on its own. Right for most communities. |
| **Strict** | Bans on the 2nd mute, every check on, Surge Guard on. For big or often-raided chats. |

### Last 7 days

How many messages the bot removed for you, how many it sent to **Needs review**, and how many you marked as a mistake. The bar below splits them into banned, muted, deleted and review.

### Quick settings

* **Let the bot ban on its own**: on, bans happen right away and you can undo any of them from [Incidents](https://www.collony.ai/docs/incidents.md). Off, the bot suggests the ban and waits for you.
* **Mute length**: used for every mute, and while a ban suggestion waits. 1 hour, 24 hours, 3 days or 7 days.
* **Repeat offenders**: when to ban, for example the 3rd mute in 30 days, or never. Forgiven incidents do not count.

### Layers

Below the quick settings, each protection layer is a row you can open. Each shows how many messages it caught in the last 7 days.

| Layer | What it covers |
| - | - |
| **Scam and spam rules** | The AI reads every message for these patterns, plus your own community rules. See [AI rules](https://www.collony.ai/docs/ai-rules.md). |
| **Blocklists** | Words and links handled instantly, no AI involved. See [Blocklists](https://www.collony.ai/docs/blocklists.md). |
| **Impersonation** | Catches accounts copying your team's names or pictures. See [Impersonation](https://www.collony.ai/docs/impersonation.md). |
| **Surge Guard** | Automatic slow mode during floods and raids. See [Surge Guard](https://www.collony.ai/docs/surge-guard.md). |

Open a row to change its main settings. **More in Advanced** takes you to the full settings.

## Advanced view

The Advanced view shows every setting and the full numbers.

### How a message is checked

Every message passes the layers in this order. The first layer that acts on a message decides what happens to it.

**1. Surge Guard**

Watches the message rate in each channel and turns on slow mode during a flood or raid.

**2. Impersonation protection**

Catches members copying the name, @handle or picture of someone on your team.

**3. Blocklists**

Words, phrases and domains, handled instantly.

**4. AI rules**

Everything the earlier layers did not catch is read by the AI, using your community rules and the rule presets.

### Activity

For the range you pick (24h, 7d, 30d, or **More** for presets like last 14 days, this month, or a custom From and To):

* Actions and incidents, with the change against the previous period
* Deleted, muted and banned counts
* **Actions per day**, with the busiest day and which layer did most of the work
* **By layer**: Surge and flood, Impersonation, Blocklists, AI rules and Filters, each with its deletions, mutes and bans

### Tabs

> [card] [Enforcement and filters](https://www.collony.ai/docs/enforcement.md)
>
> Ban permissions, mute length, repeat offenders, media checks and cleanup.

> [card] [AI rules](https://www.collony.ai/docs/ai-rules.md)
>
> Your community rules and the rule presets.

> [card] [Blocklists](https://www.collony.ai/docs/blocklists.md)
>
> Blocked and allowed domains and the blocklist collections.

> [card] [Impersonation](https://www.collony.ai/docs/impersonation.md)
>
> What counts as a copy and what happens to it.

> [card] [Surge Guard](https://www.collony.ai/docs/surge-guard.md)
>
> Triggers and slow mode for floods and raids.


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