26 |
-lock #general |
-lock #general |
27 |
``` |
``` |
28 |
|
|
29 |
|
## Locking Channels in Bulk |
30 |
|
|
31 |
|
##### Legacy Command |
32 |
|
``` |
33 |
|
-lockall <...ChannelIDs|ChannelMentions> [--raid] |
34 |
|
``` |
35 |
|
|
36 |
|
##### Slash Command |
37 |
|
``` |
38 |
|
/lockall <...ChannelIDs> [Role] [Raid] |
39 |
|
``` |
40 |
|
|
41 |
|
* `Role`: The channel will be locked for this role. Defaults to `@everyone`. |
42 |
|
* `Raid`, `--raid`: Select and lock all Raid-protected channels. |
43 |
|
|
44 |
|
#### Examples |
45 |
|
|
46 |
|
``` |
47 |
|
-lockall --raid |
48 |
|
-lockall 347382275362482 |
49 |
|
-lockall #general |
50 |
|
``` |
51 |
|
|
52 |
## Unlocking Channels |
## Unlocking Channels |
53 |
|
|
54 |
You can unlock channels back using `-unlock` command. This sets a permission override to the target channel that reverts the `SEND_MESSAGES` permission for `@everyone` role as it was before. |
You can unlock channels back using `-unlock` command. This sets a permission override to the target channel that reverts the `SEND_MESSAGES` permission for `@everyone` role as it was before. |
72 |
-unlock |
-unlock |
73 |
-unlock 347382275362482 |
-unlock 347382275362482 |
74 |
-unlock #general |
-unlock #general |
75 |
|
``` |
76 |
|
|
77 |
|
## Unlocking Channels in Bulk |
78 |
|
|
79 |
|
##### Legacy Command |
80 |
|
``` |
81 |
|
-unlockall <...ChannelIDs|ChannelMentions> [--raid] |
82 |
|
``` |
83 |
|
|
84 |
|
##### Slash Command |
85 |
|
``` |
86 |
|
/unlockall <...Channels> [Role] [Raid] |
87 |
|
``` |
88 |
|
|
89 |
|
* `Role`: The channel will be unlocked for this role. Defaults to `@everyone`. |
90 |
|
* `Raid`, `--raid`: Select and unlock all Raid-protected channels. |
91 |
|
|
92 |
|
#### Examples |
93 |
|
|
94 |
|
``` |
95 |
|
-unlockall --raid |
96 |
|
-unlockall 347382275362482 |
97 |
|
-unlockall #general |
98 |
``` |
``` |