> ## Documentation Index
> Fetch the complete documentation index at: https://docs.utilbot.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear

## Command

```txt theme={null}
/mod clear [message_num]
```

## Description

Deletes all, or a specific amount of messages in the Chat.

## Permission

`MANAGE_MESSAGES`

## Arguments

| Name | Type | Description | Sample Data |
| - | - | - | - |
| `message_num` | number | The amount of messages to delete. Min 1, max 100. Default: 100 | `20` |

## Sample Response

![Image](https://cdn.utilbot.co/2021-05-28_38b3a317-4396-48bb-819e-f9e884552bb8.png)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.