Permissions

Permissions can look quite complicated at first but can be learned relatively easily and provides an easy and reliable way to give certain non-admin users permissions.

What is a permission / permission node?

A permission/permission node is the required permission that a user must have to execute a command. This is not to be confused with regular Discord permissions which (with the exception of the Administrator permission) does not affect whether or not you can execute a command.

Groups

Permissions with Dazai is a group/roles system. There are at the moment 5 different permission groups possible. They are:

  • Everyone (Default)

  • DJ

  • Extra Role 1

  • Moderator

  • Extra Role 2

  • Admin (Anyone with Administrator Permissions in their roles will also gain this permission set)

Be careful of who you give admin to!

Aside from very few Server Owner only commands, admins have essentially every permission unlocked. This allows them to execute almost any command! Make sure you vet the people who you give the admin role to!

Permissions Inheritance

Permission groups will actually inherit permissions from groups below them. The chain of inheritance goes Everyone => DJ => Extra Role 1 => Moderator => Extra Role 2. This means that even if a user does not have the role associated with DJ, if they have a role associated with Extra Role 1, Moderator or Extra Role 2, they will gain the DJ permission set.

List of Permissions

How to actually modify permissions

Now that you learned about what permissions actually are, it is time to apply your knowledge to manage Dazai in your server better! There are 2 ways to manage permissions. One is from the Web Panel and the other is by the permissions command.

Last updated