/[sudobot]/trunk/docs/moderation/banning_users.md
ViewVC logotype

Annotation of /trunk/docs/moderation/banning_users.md

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84 - (hide annotations)
Mon Jul 29 17:28:32 2024 UTC (8 months, 1 week ago) by rakin
File MIME type: text/markdown
File size: 1265 byte(s)
Updated docs
1 rakin 84 # Banning Users
2    
3     ## Normal Ban
4     Use the `-ban` command to ban a user, regardless if they are in the server or not.
5    
6     ##### Legacy Command
7     ```
8     -ban <UserID|UserMention|UserTag> [-d=DAYS] [Reason]
9     ```
10    
11     **Options**:
12     - `-d`: Specify the how many days old messages to delete. Must be in range of 0-9. Default is - "Don't delete any".
13    
14     ##### Slash Command
15     ```
16     /ban <User> [days] [reason]
17     ```
18    
19     ##### Examples
20    
21     ```
22     -ban @Someone
23     -ban @Someone Spamming a lot
24     -ban @Someone -d 5 Spamming a lot
25     -ban 45643846466843
26     -ban 45643846466843 Spamming a lot
27     -ban 45643846466843 -d 7 Spamming a lot
28     ```
29    
30     ## Mass Ban
31     Use the `-massban` command to massban users.
32    
33     ##### Legacy Command
34     ```
35     -massban <...UserIDs|UserMentions> [Reason]
36     ```
37    
38     ##### Slash Command
39     ```
40     /massban <...UserIDs> [days] [reason]
41     ```
42    
43     !!! note
44    
45     While using slash command, the IDs must be separated with spaces.
46    
47     ##### Examples
48    
49     ```
50     -massban 23626825621964 217216291276407
51     -massban 23626825621964 217216291276407 63876523582826865 Raiding the Server
52     -massban 23626825621964 217216291276407 @Someone 36362742746674467
53     ```
54    
55     ## Unbanning
56     Use the `-unban` command to unban users.
57    
58     ##### Legacy Command
59     ```
60     -unban <UserID>
61     ```
62    
63     ##### Slash Command
64     ```
65     /unban <UserID>
66     ```
67    
68     ##### Examples
69    
70     ```
71     -unban 7485692162169
72     ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26