> For the complete documentation index, see [llms.txt](https://docs.nvstly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nvstly.com/discord-bot-setup/server-settings/whitelist-channels.md).

# Whitelist Channels

Setting a whitelist of channels is recommended as it will not allow users to submit trades in channels not designated for submitting them, but all other commands will still function in non-whitelisted channels.\
\
If a whitelist has not been set, when the bot is used in a channel that it doesn't have the required permissions in, it will reply or send a DM to that user with a permissions checklist noting which perms are missing.

### Add Channels To Whitelist

{% hint style="info" %}
**`$whitelist add #channel`**
{% endhint %}

To add a channel to the whitelist use the command `$whitelist add` and specify the channel to add. You can add multiple channels to the whitelist in one command by spacing out each channel.\
\
If successful, the bot will react with :white\_check\_mark:\
![](/files/nyczRtWEi9qDlz4iqcjo)

### Remove Channels From Whitelist

{% hint style="info" %}
**`$whitelist remove #channel`**
{% endhint %}

To remove a channel from the whitelist use the command `$whitelist remove` and specify the channel to remove. You can remove multiple channels from the whitelist in one command by spacing out each channel.\
\
If successful, the bot will react with :white\_check\_mark:\
![](/files/LcLLt8mZb4I3V7y7jTRX)

### List Whitelisted Channels

You can view all the whitelisted channels by using the command `$whitelist`![](/files/YupvblsfhVlcoTgqyRz4)

{% hint style="info" %}
Use `$whitelist clear` to clear all channels from a whitelist
{% endhint %}
