> For the complete documentation index, see [llms.txt](https://docs.itranslator.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.itranslator.app/amazing-features/auto-erase.md).

# Auto-Erase

Delete a message and its translations disappear with it. A must-have if you use iTranslator a lot and have active moderators.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-9be7e7315124315c31e43b3ecdf2083739830ff7%2Fautoerase1.gif?alt=media" alt="Deleting a message also deletes its translations"><figcaption></figcaption></figure>

## What is Auto-Erase?

Auto-Erase makes moderation easier: you no longer have to delete every translation of an unwanted message by hand. When it is enabled and you delete a message, the translations linked to it are deleted automatically.

## Enable it

{% tabs %}
{% tab title="Dashboard" %}
Open your server in the [dashboard](https://docs.itranslator.app/fundamentals/dashboard.md), go to **Server → Configuration** and turn on **Enable** in the **Auto-Erase** card.

<figure><img src="https://3955709218-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuW8Vjy8RHWcWMwcAWdcy%2Fuploads%2Fgit-blob-033bfa6915275243104217cc5c90b103cae16a40%2Fdashboard-config.png?alt=media" alt="The Configuration page of the dashboard with the Auto-Erase card"><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Command" %}
Run `/autoerase toggle` on your server. The same command turns it off.
{% endtab %}
{% endtabs %}

## Choose the mode

| Mode                   | Behavior                                                                                                                          |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| **All** (default)      | When any message is deleted, the original or one of its translations, all the others are deleted too, including the original.     |
| **Only from original** | The translations are deleted only when the **original** message is deleted. Deleting a translation does not delete anything else. |

{% tabs %}
{% tab title="Dashboard" %}
In the **Auto-Erase** card, choose **All** or **Only from original** in the **Mode** menu.
{% endtab %}

{% tab title="Command" %}
Run `/autoerase mode` and choose `ALL` or `ONLY_FROM_ORIGINAL`.
{% endtab %}
{% endtabs %}

## Good to know

{% hint style="info" %}
To link a message to its translations, iTranslator keeps their IDs for a limited time:

* **Premium:** 7 days
* **Free:** 2 days

Older messages are no longer covered by Auto-Erase.
{% endhint %}

{% hint style="danger" %}
Auto-Erase only works on translations sent **after** you enabled the feature.
{% endhint %}
