> For the complete documentation index, see [llms.txt](https://themis-bot.gitbook.io/themis-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://themis-bot.gitbook.io/themis-docs/fundamentals/getting-set-up/anti-raid.md).

# Anti-Raid

{% hint style="warning" %}
This feature is in **beta testing** and tends to not always work effectively and sparingly, leading to holes in server security (not critical of course).
{% endhint %}

Themis uses a system of flags which helps to flexibly adapt to the server and act as a firewall. Initially, Themis learns and builds its own config based on certain server metrics. Some of these metrics are profile picture presence, name, age and others. When a raid is detected, a protection mechanism is triggered and Themis bans raid accounts.

After selecting `Anti-Raid` in the selector, you will see the following menu:

<figure><img src="/files/w2TOPMDLVMfZNpXaDfIZ" alt=""><figcaption></figcaption></figure>

* Embed title shows the function you selected
* Themis will give you some statistics regarding how many raid bots got banned&#x20;
* Status can take the values Enabled or Disabled

#### Logs

<figure><img src="/files/xvNiNGqxyKuJCToWyokE" alt=""><figcaption></figcaption></figure>

* Logs channel can be assigned with a button
* Logs can be exported in TXT, CSV and XML


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://themis-bot.gitbook.io/themis-docs/fundamentals/getting-set-up/anti-raid.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.
