Skip to content

Permissions Commands #44

@conaticus

Description

@conaticus

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions