> For the complete documentation index, see [llms.txt](https://infinitybot.gitbook.io/infinitybot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitybot.gitbook.io/infinitybot-docs/automatic-moderation/ai-moderation.md).

# AI Moderation

The AI Moderation system allowes you to moderate your server with AI!

{% hint style="info" %}
🧪 AI Moderation is still in BETA, meaning it does not fully work as intended yet.&#x20;

This could lead to false positives, meaning it could happen messages will be blocked that do not contain any NSFW or toxic content.&#x20;
{% endhint %}

<figure><img src="https://2255898787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZqXmdaTQZknKkvcG0Uxz%2Fuploads%2FBpG2aecuOIdQnqN6lEwR%2Fclydeaianimated.gif?alt=media&amp;token=6a69bc23-91b4-4ed2-ab4a-8518a3c78629" alt=""><figcaption></figcaption></figure>

## Setup

You can set up the system with the `/setup ai-moderation` command.&#x20;

| Command Option Name | Function                                                                                                           |
| ------------------- | ------------------------------------------------------------------------------------------------------------------ |
| action              | In this option you can select the action you would like to run                                                     |
| log-channel         | In this option you can select the channel where you want to get log messages from the AI Moderation system         |
| whitelist-role      | In this option you can select the role you don't want to be screened                                               |
| delete-messages     | In this option you can select if you want to delete messages or not if they are marked by the AI Moderation system |

{% hint style="info" %}
Users with the `manage server` permissions are always ignored by the AI Moderation system.&#x20;
{% endhint %}

{% hint style="warning" %}
If you enable this feature, message content will anonymously be shared with a 3rd party API to screen it.&#x20;
{% endhint %}
