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

Annotation of /branches/5.x/docs/moderation/clear_command.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (hide annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: text/markdown
File size: 611 byte(s)
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