# Spam Control

### To access all spam block settings, use the command `/config` in your group.

### Anti-Raid

Anti-raid is a spam prevention which stops users from sending excessively large messages. There's 3 different modes, Off-duty, standard, and strict. For most groups, we recommend standard. Standard with trusting low risk users rarely deletes any non-spam messages

### Flood Control

Flood control is a spam prevention which stops users from sending messages too fast. The default is light which is 1/4 on the scale of difficulties. This will be rare to trigger on accident, however it can happen if your chat is very hyped. However, with normal chatting this will never be triggered without intention

\
**Trust low risk users** is an option on both of these settings. If enabled, users with Telegram premium or users who have deemed themselves as trustworthy by chatting and being long time users will have more leniency than others.

### AI Ban

To use this, reply to a spam / malicious message with `/aiban`

Doing this adds the message to your groups database, where every new message is compared to it. If it's deemed as too similar, it will be automatically deleted. On top of this, their message is sent to us for review and if deemed not safe the user will be permanently banned from Safeguard. This is perfect for pump groups and other malicious spam.

To clear your AI Ban database use `/clearaiban`

### Join Captcha

Join captcha is a mode in `/config > Welcome Messages` - When turned on, users will be muted on join and have to verify with Safeguard to be able to chat. This is not as secure as a portal, however it can stop spam and is a good measure


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.safeguard.run/group-security/spam-control.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
