> For the complete documentation index, see [llms.txt](https://docs.nyaru.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nyaru.xyz/moderation/purge/attachments.md).

# Attachments

## Usage

```
@Nyaru purge [count] attachments
```

## Examples

* Purge messages *having attachments* in last **10** messages.

> @Nyaru purge 10 attachments

* Purge **all** messages having *attachments*.

> @Nyaru purge attachments

{% hint style="warning" %}
If you don't provide count, bot will index last **100** messages and filter them by default.
{% endhint %}
