# /warn remove

Remove a specific warning from a user’s moderation history by referencing their warning number.

***

### 💬 Usage

```
/warn remove <user> <number>
```

* `<user>` – The member whose warning you want to remove.
* `<number>` – The warning number you want to delete (from that user’s warning list).

> ⚠️ Only users with moderation permissions can run this command. Warning numbers are user-specific, not global.

***

### 📌 Example

```bash
/warn remove @DisruptiveUser 2
```

This will:

* Remove warning #2 from `@DisruptiveUser`’s warning history
* Return a confirmation message once the warning has been successfully deleted

***

### 🗃️ Notes

* Warning numbers can be viewed with `/warn view`.
* Deleting a warning will not renumber the others — the numbers stay tied to their original entry.
* If you attempt to remove a warning that doesn't exist (e.g., wrong number), Pandoryx will let you know.

***

### 🔍 Related Commands

* [`/warn add`](https://asterias-moons.gitbook.io/pandoryx-bot/commands/moderation-commands/warn-commands/warn-add) – Issue a new warning and log the reason
* [`/warn view`](https://asterias-moons.gitbook.io/pandoryx-bot/commands/moderation-commands/warn-commands/warn-view) – View all warnings for a specific user
