We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current system isn't particularly clean and isn't very flexible, Go with a nodes approach.
Nodes can be defined in a form like: [plugin].[command](more dots also if needed)
So, i.e.
"groups.manager": [ "groups.bouncer", "-basicbot.banall" "basicbot.*" ] "groups.bouncer": [ "groups.normal", "playlist.add", "playlist.grab", "playlist.activate", "basicbot.add", ] "groups.residentdj": [ "groups.normal", "basicbot.add.self" ] "groups.normal": [ "wolfram.search", "afk.afk", ]
Users will automatically have the node for their current group, it will also be possible to specify additional nodes for specific users such as:
"users.ylt": [ "*" ]
These can then be checked via either a function, or via an annotation.
@Command("ban", {permission: "basicbot.ban"}) ban(messageData) { //will only reach here if user has the permission :) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current system isn't particularly clean and isn't very flexible, Go with a nodes approach.
Nodes can be defined in a form like: [plugin].[command](more dots also if needed)
So, i.e.
Users will automatically have the node for their current group, it will also be possible to specify additional nodes for specific users such as:
These can then be checked via either a function, or via an annotation.
The text was updated successfully, but these errors were encountered: