/clearwarn gives administrators the power to surgically remove a single warning or wipe a member’s slate entirely — keeping your moderation records accurate and fair.
Description
The/clearwarn command removes warnings from a member’s moderation record. You can target a specific warning by its ID (retrieved via /warnings) to remove just that entry, or omit the warn_id parameter entirely to clear all warnings from the member’s record at once. Because this action is irreversible, it is restricted to Administrators and configured Admin roles to prevent accidental or unauthorized record tampering.
Usage
Clear a specific warning:Parameters
The server member whose warning record you want to modify. Must be an
@mention of a current member of your server.The ID of the specific warning you want to remove. Warning IDs are displayed in the embed returned by
/warnings. If this parameter is omitted, all warnings for the member will be cleared.Permissions Required
| Role | Access |
|---|---|
| Administrator or configured Admin role | ✅ Can clear warnings |
| Moderator | ❌ No access |
| Regular members | ❌ No access |
Example Usage
Remove a single warning (warning #2) from a member’s record:Clearing warnings is permanent and cannot be undone. If you’re removing all warnings, double-check the member’s record with
/warnings first to make sure you’re not accidentally wiping a history you need to keep.