feat: add command blacklisting

This commit is contained in:
Petal Ladenson 2026-01-12 17:14:12 -07:00
parent 1cb554e9c5
commit a3aa02e779
12 changed files with 155 additions and 8 deletions

View file

@ -1,4 +1,7 @@
# Disabling proxying in a channel
# Disabling bot functionality
You can use the blacklist commands to disable proxying or text commands in some channels of your server. [You can also disable PluralKit by taking away its permissions.](/staff/permissions)
## Disabling proxying in a channel
It's possible to block a channel from being used for proxying. To do so, use the `pk;serverconfig proxy blacklist` command. For example:
pk;serverconfig proxy blacklist add #admin-channel #mod-channel #welcome
@ -6,4 +9,14 @@ It's possible to block a channel from being used for proxying. To do so, use the
pk;serverconfig proxy blacklist remove #general-two
pk;serverconfig proxy blacklist remove all
This requires you to have the *Manage Server* permission on the server.
This requires you to have the *Manage Server* permission on the server.
## Disabling commands in a channel
It's possible to block a channel from being used for text commands. To do so, use the `pk;serverconfig command blacklist` command. For example:
pk;serverconfig command blacklist add #admin-channel #mod-channel #welcome
pk;serverconfig command blacklist add all
pk;serverconfig command blacklist remove #general-two
pk;serverconfig command blacklist remove all
This requires you to have the *Manage Server* permission on the server. If you have the *Manage Server* permission on the server you **will not be affected by the command blacklist** and will always be able to run commands.