> For the complete documentation index, see [llms.txt](https://xnickydev.gitbook.io/ocavy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xnickydev.gitbook.io/ocavy/commands/moderation/+clear.md).

# +clear

## Usage

```
+clear <amount> {user}
```

## Arguments

| Name   | Description                      | Type   | Required |
| ------ | -------------------------------- | ------ | -------- |
| amount | The amount of messages to clear. | Number | Yes      |
| user   | The user to clear messages from. | User   | No       |

## Examples

![](https://tawk.link/60e18ecd649e0a0a5cca7167/kb/attachments/8-grRt5AXc.jpg) ![](https://tawk.link/60e18ecd649e0a0a5cca7167/kb/attachments/KkroRN4Q6N.jpg)
