> For the complete documentation index, see [llms.txt](https://docs.lindseybot.net/lindsey/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lindseybot.net/lindsey/commands/prune.md).

# Prune

Purge (delete) messages from chat in-bulk.

### Delete until here

The easiest way to use Lindsey's pruning feature is to right click on the target message!

![](https://193452554-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5DBNUDVUCXHOEQoRFRCR%2Fuploads%2FzhjX4WWeUSg6irZZ7zRo%2Fimage.png?alt=media\&token=894165a4-e36c-49ef-8639-4c1d37879fc0)

Then go to `Actions > Delete until here`, this will delete all messages in the chat until it reaches the message you clicked on (inclusive).

### Deleting recent messages

To delete 10 recent messages, simply go to the desired channel and type:

```
/prune count: 10
```

### Deleting messages from a specific user

To delete messages from a specific user, simply type:

```
/prune count: 2 user: User
```
