Closed sjstein closed 8 months ago
On further investigation, it does not appear permissions can be done from within the bot code itself, but may be possible from the server administration interface on Discord itself. Further investigation required....
This type of security is set within the discord server config - need to write up some docs. @sjstein
documentation has been written. marking as closed
It may be possible to set the permissions of each slash command within the decorator definition. This may have the added benefit of not popping up commands that are not available to a user, as well as eliminate a lot of redundant code within the botHandler used to determine if a user is eligible to use a command