Optional Configuration
Required Permissions
You can restrict the availability of the Dashboard to only users with reassurance data on the server.
It must be an Array of DISCORD_FLAGS.Permissions that you want to require users to have in order to allow them to use the Dashboard.
Discord-Dashboard allows to use multiple permissions required.
Example Usage
PERMISSION_NAME
available:
Props
requiredPermissions
Array<DISCORD_FLAGS.Permissions>
default: "[DBD.DISCORD_FLAGS.Permissions.MANAGE_GUILD]"requiredThe required permissions
Was this page helpful?