sjstein / R8DIUM

A discord bot to manage individual run8 users
GNU General Public License v3.0
2 stars 0 forks source link

User permissions may be settable within the bot command decorator #35

Closed sjstein closed 8 months ago

sjstein commented 9 months ago

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

sjstein commented 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....

sjstein commented 8 months ago

This type of security is set within the discord server config - need to write up some docs. @sjstein

sjstein commented 8 months ago

documentation has been written. marking as closed