> ## 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.

# Enforcement and filters

> Ban permissions, mute length, repeat offender rules, media checks, cleanup and link limits for new members.

The **Enforcement & Filters** tab on the [Protection](https://www.collony.ai/docs/protection.md) page, in the Advanced view, sets how far the bot can act on its own and which media it checks. Changes save instantly.

The main enforcement settings are also on the Simple view of the Protection page, and the **How strict** level sets them for you.

![Protection page in Advanced view on the Enforcement and Filters tab](https://mintcdn.com/collonyai/lKiNRX1ZXqxzqSsi/images/app/enforcement.png?fit=max\&auto=format\&n=lKiNRX1ZXqxzqSsi\&q=85\&s=f5332dea1757e553b95039a298466f9d)

## Enforcement

### Allow bot to ban

* **On**: blocklist bans, AI bans and repeat offender bans remove the member right away. You can undo any ban from [Incidents](https://www.collony.ai/docs/incidents.md).
* **Off**: every ban becomes **Suggest ban**. The bot deletes the message, mutes the member and puts the case in **Needs review** for you to decide.

> [!TIP]
>
> Start with this off. After a few weeks of reviewing suggestions, turn it on once you trust how the bot handles your community.

### Mute length

How long the bot mutes members for blocklist mutes, AI mutes and ban suggestions (the member stays muted while you decide). Choose from 5 minutes up to 28 days, or set a custom length. Manual mute menus offer this length first.

Flood brakes for posting too fast stay short (5 minutes or 1 hour) whatever you set here.

### Ban repeat offenders

Bans a member on their Nth mute within a set window, for example the 3rd mute within 30 days. Choose from the 2nd to the 10th mute and a window from 7 to 365 days.

The count includes mutes from the bot and from your admins across the whole project. Incidents you forgave or marked as a collony.ai mistake do not count.

## Filters

### Media filtering

| Setting | What it does | Default |
| - | - | - |
| **Image Moderation** | Checks photo messages with AI vision for inappropriate content | On |
| **Animation Moderation** | Checks GIFs, animations and videos with AI vision | Off |
| **Sticker Moderation** | Checks stickers with AI vision | Off |

### Cleanup

| Setting | What it does | Default |
| - | - | - |
| **Delete Stories** | Deletes Telegram stories shared into the chat, a common scam vector | Off |
| **Delete Join Messages** | Deletes Telegram "user joined" service messages a minute after they appear | Off |

### New members

**Links from new members** deletes messages with links from members who joined less than a set time ago. Choose Off, 1 hour, 24 hours, 7 days or a custom value. Links to your [allowed domains](https://www.collony.ai/docs/blocklists.md#allowed-domains) are always fine.

> [!TIP]
>
> Most scam accounts post a link within minutes of joining. A 24 hour window stops them without bothering regular members.


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