/[sudobot]/branches/2.x/docs/moderation/clear_command.md
ViewVC logotype

Contents of /branches/2.x/docs/moderation/clear_command.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (show annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: text/markdown
File size: 534 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 # Clearing messages in bulk
2
3 Sudobot has `-clear` command which can delete messages in bulk.
4
5 !!! warning
6 Messages deleted using this command won't be logged.
7
8 ##### Legacy Command
9 ```
10 -clear <UserID|UserMention>
11 ```
12
13 ##### Slash Command
14 ```
15 /clear [User] [MessageCount] [Channel]
16 ```
17
18 !!! note
19 While using slash command, you must specify either the message count or the user.
20
21 !!! info
22 This operation might take some time depending on the amount of messages.
23
24 #### Examples
25
26 ```
27 -clear @Someone
28 -clear 347382275362482
29 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26