,clear
aka ,purge, ,clean, ,prune
Clears amount mentioned
User permissions
- Manage Messages
Cooldown
- none
Other surface
- /clear · 4 slash subs vs 3 prefix
Anchor
- #clear
Forms
user <number>bot <number>contain <word>images <number>numberSyntax
,clear [person] <number> | clear <bots|contains|images> <arg>
/clear <subcommand>
<required> · [optional]
Example
,clear 20
Subcommands
3 prefix subcommandsRead from the prefix .sub/ tree, the canonical shape. Every entry has a permanent anchor of its own.
,clear botsaka b, bot,clear containsaka con, word, words, containclear messages that contain a certain word
,clear contains <word>,clear contains linktr.ee#clear-contains
,clear imagesaka image, pictures, im, filesSlash leaves
4 leavesRead from the registered slash builder: groups are flattened, so a grouped leaf reads “group leaf” and anchors with a hyphen between the two words.
Two trees, not one view of one
This command registers 4 leaves on the slash surface against 3 subcommands in its prefix tree. Both lists are on this page in full; neither is a summary of the other.
/clear messagesDelete recent messages (optionally from one user)
/clear messagesamount*user| Parameter | Type | Default | Detail |
|---|---|---|---|
amountrequired | Integer | — | Number of messages (1-100)(1–100) |
user | User | — | Only delete messages from this user |
/clear botsDelete recent bot messages
/clear botsamount| Parameter | Type | Default | Detail |
|---|---|---|---|
amount | Integer | — | Number of messages (1-100, default 50)(1–100) |
/clear containsDelete messages containing a word
/clear containsword*| Parameter | Type | Default | Detail |
|---|---|---|---|
wordrequired | String | — | Word to match |
/clear imagesDelete recent messages with attachments
/clear imagesamount*| Parameter | Type | Default | Detail |
|---|---|---|---|
amountrequired | Integer | — | Number of messages (1-100)(1–100) |