You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user - Restrict permission for specified user (and on specified channel)
role - Restrict for permission for specified role (and on specified channel)
everyone - Restrict permission for everyone (and on specified channel)
guildOwner - Restrict permission for guild owner
botAdmin - Restrict permission for bot administrator
if allow is true, then permission is ALLOWED, if it's false, permission is DENIED. If not defined resource or not specified privilege entity, then permission is NONE.
The text was updated successfully, but these errors were encountered:
For bot-as-service usability is needed prefered privileges defined by admin in config file or storage.
Scenario:
Function for resolve preferred privileges returns one of states:
Special privileges can be specified in configuration file:
Privilege entities:
user
- Restrict permission for specified user (and on specified channel)role
- Restrict for permission for specified role (and on specified channel)everyone
- Restrict permission for everyone (and on specified channel)guildOwner
- Restrict permission for guild ownerbotAdmin
- Restrict permission for bot administratorif
allow
is true, then permission is ALLOWED, if it's false, permission is DENIED. If not defined resource or not specified privilege entity, then permission is NONE.The text was updated successfully, but these errors were encountered: