Skip to content

Conversation

Taaku18
Copy link
Collaborator

@Taaku18 Taaku18 commented Apr 29, 2019

Resolves #196 and resolves #165

v2.18.0

What's new?

  • A brand new permission system! Replacing the old guild-based permissions (ie. manage channels, manage messages), the new system enables you to customize your desired permission level specific to a command or a group of commands for a role or user.
  • There are five permission groups/levels:
    • Owner
    • Administrator
    • Moderator
    • Supporter
    • Regular

You may add a role or user to a permission group through any of the following methods:

  • ?permissions add level owner @role
  • ?permissions add level supporter member-name
  • ?permissions add level moderator everyone
  • ?permissions add level moderator @member#1234
  • ?permissions add level administrator 78912384930291853

The same applies to individual commands permissions:

  • ?permissions add command-name @member#1234
  • ... and the other methods listed above.

To revoke permission, use remove instead of add.

To view all roles and users with permission for a permission group or command do:

  • ?permissions get command command-name
  • ?permissions get level owner

Note

When updating to this version, all prior permission settings with guild-based permissions will be invalidated. You will need to convert to the above system.

Check the changelog for the most up-to-date changes.

Copy link
Collaborator

@fourjr fourjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be good to go imo, only push after #219 has been merged.

@kyb3r kyb3r merged commit e8f91a6 into master May 11, 2019
@Taaku18 Taaku18 deleted the perms branch May 13, 2019 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: Restructure the permission tree on commands usage. Inconsistency with commands structure
3 participants