-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
/add permission [Command] [Role/Permission/User]
- Ideally discord commands & permissions should be listed in autocomplete if easily obtainable (if not then we won't include discord permissions)
- Adds role/permission/user to have permission to a command
/get permissions [Command]
- Existing commands will be listed in an enum
- Returns a bullet point list of all the permissions including roles, discord defined permissions and users
/remove permission [Command] [Permission]
- Autocomplete lists permissions existing to that command to be removed
- Removes the specified permission (that was already set) from the command
We need to interact with discord's command permissions API, but I'm hoping Discord.Net makes this pretty easy - this is so that unpermitted commands aren't shown.
Also commands should have a default permission in the database (whichever Discord permission is appropriate (e.g Permissions.Administrator for admin commands) - this will also be displayed in the autocomplete