# Clean

{% hint style="warning" %}
Akira can only delete messages up to 14 days old, \
as per Discord's Terms of Service.
{% endhint %}

## Usage:

| Command   | Options             | Description                            |
| --------- | ------------------- | -------------------------------------- |
| `a.clean` | \<Filter> {channel} | Clears multiple messages using filters |

#### Filters

Filters may be used to only clear messages that meet the specified criteria.

| Filter          | Description                                    |
| --------------- | ---------------------------------------------- |
| `user <member>` | Deletes messages sent by the mentioned member. |
| `bots`          | Deletes messages sent by bots.                 |
| `akira`         | Deletes messages sent by akira.                |
| `me`            | Deletes messages sent by you.                  |

## Example:

<table><thead><tr><th width="356">Command</th><th>Description</th></tr></thead><tbody><tr><td><code>a.clean user @Dark-LYNN</code></td><td>Clears all messages from @Dark-LYNN</td></tr><tr><td><code>a.clear akira #general</code></td><td>Clears all messages in #general from Akira</td></tr></tbody></table>

## Related Commands

{% content-ref url="nuke" %}
[nuke](https://documentation.lynnux.xyz/akira/moderation/nuke)
{% endcontent-ref %}
