# Auto Moderation

{% hint style="info" %}
Texts in <mark style="color:purple;">**violet**</mark> can be clicked for more informations
{% endhint %}

{% hint style="danger" %}
Those commands required the permission **MANAGE\_SERVER**
{% endhint %}

## Anti

* **Description** : Enable or disable certain self-moderation modules [\[Can be configured in the dashboard\]](https://dashboard.naosandco.me)
* Usage :

<table><thead><tr><th width="386">Command</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>/anti delete [ON/OFF]</td><td>Detects and logs ghost mentions as well as deleted messages on your server</td><td></td></tr><tr><td>/anti massmention [ON/OFF]</td><td>Detects, logs and removes mass mentions</td><td></td></tr><tr><td>/anti spam [ON/OFF]</td><td>Detects, logs and removes spam</td><td></td></tr></tbody></table>

## AutoDelete

* **Description** : Automatically delete messages that contain forbidden things [\[](http://dashboard.naosandco.me:8082)[\[Can be configured in the dashboard\]](https://dashboard.naosandco.me)
* Usage :&#x20;

<table><thead><tr><th>Command</th><th>Description</th><th data-hidden></th></tr></thead><tbody><tr><td>/autodelete invites [ON/OFF]</td><td>Allow or disallow discord invitations in the message</td><td></td></tr><tr><td>/autodelete attachments [ON/OFF]</td><td>Allow or disallow attachments in the message</td><td></td></tr><tr><td>/autodelete links [ON/OFF]</td><td>Allow or disallow links in the message</td><td></td></tr><tr><td>/autodelete maxlines [Nombre]</td><td>Sets the maximum number of lines allowed per message</td><td></td></tr></tbody></table>

## Automod

* **Description** : Manage the auto-moderation module [\[Can be configured in the dashboard\]](https://dashboard.naosandco.me)
* Usage :

| Command                              | Description                                                            |
| ------------------------------------ | ---------------------------------------------------------------------- |
| /automod sanctions \[Amount]         | Set the maximum number of penalties before performing an action        |
| /automod whitelist                   | View whitelisted channels                                              |
| /automod action \[timeout/kick/ban]  | Action to take after a member receives the maximum number of penalties |
| /automod debug \[ON/OFF]             | Enable/disable automod for messages sent by admins and moderators      |
| /automod status                      | Check automod configuration                                            |
| /automod whitelistadd \[#Channel]    | Whitelist a room                                                       |
| /automod whitelistremove \[#Channel] | Whitelist a room                                                       |
