Permissions
Command can have Discord-Based Permissions, Role-Based Permissions or even both of them.
Permissions can be changed by editing Configuration File commands.yml and changing permissions and role fields.
An Example
Here we'll show you an example of playing with Command Permissions.
# Command Name
add:
# ID of Role which can use this Command
roles: []
aliases: []
# Discord Permission(s) Required to use Command
permissions: ["MANAGE_MESSAGES"]
description: "Add User to Ticket"
usage: "add [@User]"
enabled: trueOn Example we added few comments to help you to figure out what does what, if you want to let everyone use command then set role field to "" and permissions field to [].
To learn more about commands.yml go to Configuration Page.
Last updated
Was this helpful?