Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions Commands #44

Open
conaticus opened this issue May 7, 2024 · 0 comments
Open

Permissions Commands #44

conaticus opened this issue May 7, 2024 · 0 comments
Labels

Comments

@conaticus
Copy link
Contributor

conaticus commented May 7, 2024

/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant