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
I am trying to figure out how do I limit access to the bot commands only to Admins.
I am using the CommandBot class, and the only thing I found is this Wiki example which describes permission_level on a per-command bases.
Is there a global setting?
On a side note - I was wondering why the slash commands example is so much more complex than the non-slash commands example, ideally I am looking to do slash commands - as it seems that most bots move to it, and we get the nice autocomplete.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am trying to figure out how do I limit access to the bot commands only to Admins.
I am using the
CommandBot
class, and the only thing I found is this Wiki example which describespermission_level
on a per-command bases.Is there a global setting?
On a side note - I was wondering why the slash commands example is so much more complex than the non-slash commands example, ideally I am looking to do slash commands - as it seems that most bots move to it, and we get the nice autocomplete.
Beta Was this translation helpful? Give feedback.
All reactions