Slash commands : Default Permission to a role ?
I would like to know if it possible to restrict the view of the commands (not the usage) to a specific role ? Or we can only restrict using the
I wanted to "hide" the commands when something was not enabling in the settings of the bot (database settings), but I don't know if hiding commands is a good idea, as only admin can know a command is added and a lot of people don't know how to enable them (plus, only admin of a server can).
It is a good idea to idea, or I should to global enable, and restrict the usage when doing the commands? (
default_member_permissions with discord permission (like view channel, for example) ?I wanted to "hide" the commands when something was not enabling in the settings of the bot (database settings), but I don't know if hiding commands is a good idea, as only admin can know a command is added and a lot of people don't know how to enable them (plus, only admin of a server can).
It is a good idea to idea, or I should to global enable, and restrict the usage when doing the commands? (
if loop)