# Command Permissions

Sx Bot is using Discord's v2 command permission system, effective **February 28, 2023.** For more information on this, visit [Discord's command permissions](https://support.discord.com/hc/en-us/articles/4644915651095-Command-Permissions) page.

To setup command permissions, head over to **Server Settings -> Integrations -> Bots and Apps -> Sx Bot.** From here you can search for individual commands, and allow or restrict usage based on roles, members, or channels.

<figure><img src="https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FzTv1J3XFzmHvOh0txc61%2FDiscord_o0dtLSJZPr.png?alt=media&#x26;token=6d60176b-ff8e-49fe-baba-67fda98fe765" alt=""><figcaption><p>Integrations -> Bots and Apps > Sx Bot</p></figcaption></figure>

<figure><img src="https://3235107011-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPR38BTXhzW04xdbh6h1o%2Fuploads%2FwWxDsfQ0nC5EQFlHkPal%2FDiscord_97Qapr5Syj.png?alt=media&#x26;token=f33a6aef-68be-449a-9eee-c84f6666e726" alt=""><figcaption><p>Allow or Restrict access to commands by roles, members, or channels.</p></figcaption></figure>
