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

Contents of /branches/2.x/docs/moderation/banning_users.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: 1267 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 # 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
13 - `-d`: Specify the how many days old messages to delete. Must be in range of 0-7. Default is - "Don't delete any".
14
15 ##### Slash Command
16 ```
17 /ban <User> [days] [reason]
18 ```
19
20 ##### Examples
21
22 ```
23 -ban @Someone
24 -ban @Someone Spamming a lot
25 -ban @Someone -d 5 Spamming a lot
26 -ban 45643846466843
27 -ban 45643846466843 Spamming a lot
28 -ban 45643846466843 -d 7 Spamming a lot
29 ```
30
31 ## Mass Ban
32 Use the `-massban` command to massban users.
33
34 ##### Legacy Command
35 ```
36 -massban <...UserIDs|UserMentions> [Reason]
37 ```
38
39 ##### Slash Command
40 ```
41 /massban <...UserIDs> [days] [reason]
42 ```
43
44 !!! note
45
46 While using slash command, the IDs must be separated with spaces.
47
48 ##### Examples
49
50 ```
51 -massban 23626825621964 217216291276407
52 -massban 23626825621964 217216291276407 63876523582826865 Raiding the Server
53 -massban 23626825621964 217216291276407 @Someone 36362742746674467
54 ```
55
56 ## Unbanning
57 Use the `-unban` command to unban users.
58
59 ##### Legacy Command
60 ```
61 -unban <UserID>
62 ```
63
64 ##### Slash Command
65 ```
66 /unban <UserID>
67 ```
68
69 ##### Examples
70
71 ```
72 -unban 7485692162169
73 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26