Restrict

Restrict a particular command so that only users with a certain role can use it.

Restrict a particular command so that only users with a certain role can use it. Server admins will always be able to use any command regardless of their roles.

Use listroles @user to get a list of roles (and their IDs) that a user has.
Use restrictions to see any existing restrictions that are in place.

Usage

!restrict COMMAND ROLE_ID
!restrict COMMAND none

Examples

  • !restrict name 615086491235909643
    Only users that have the role with ID 615086491235909643 can use the name command.
  • !restrict lock 582927946004693000 615086491235909643
    Only users that have either the role with ID 582927946004693000 or 615086491235909643 can use the lock command.
  • !restrict name none
    Remove all restrictions for the name command.

Related Docs

Basic setup
Setup Commands
Usage Commands
Boost Commands