Parent Directory
|
Revision Log
chore: add old version archive branches (2.x to 9.x-dev)
1 | rakinar2 | 577 | # Clearing messages in bulk |
2 | |||
3 | Sudobot has `-clear` command which can delete messages in bulk. | ||
4 | |||
5 | {% hint style="warning" %} | ||
6 | Messages deleted using this command won't be logged. | ||
7 | {% endhint %} | ||
8 | |||
9 | **Legacy Command** | ||
10 | |||
11 | ``` | ||
12 | -clear <UserID|UserMention> | ||
13 | ``` | ||
14 | |||
15 | **Slash Command** | ||
16 | |||
17 | ``` | ||
18 | /clear [User] [MessageCount] [Channel] | ||
19 | ``` | ||
20 | |||
21 | {% hint style="warning" %} | ||
22 | While using slash command, you must specify either the message count or the user. | ||
23 | {% endhint %} | ||
24 | |||
25 | {% hint style="info" %} | ||
26 | This operation might take some time depending on the amount of messages. | ||
27 | {% endhint %} | ||
28 | |||
29 | #### Examples | ||
30 | |||
31 | ``` | ||
32 | -clear @Someone | ||
33 | -clear 347382275362482 | ||
34 | ``` |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |