Slash Commands - Permissions
Slash commands are neat, but I think it's a shame everyone has access to them (or no one, if you disable the "Use Slash Commands" permission).
So I think it'd be nice to either A) have an ability to specify slash command's required permission (e.g. "Administrator" or "Manage Channels" depending on what it's designed to do) during its creation in the API. Or B) allow server owners or people with "Manage Server" permission to specify what permission(s) or role(s) a slash command requires.
Such restricted commands could be hidden from unprivileged users to avoid confusion and possible ""leakage of your own bot's and/or staff inner-workings"".
Both methods have their own pros and cons, but I think either way is an improvement than the current behavior and allows for the creation of more "risky" commands and hide them from the general public.
-
Oh, welp, at least they are aware of this. Sorry for the spam.
0
Yorum yazmak için lütfen oturum açın.
Yorumlar
2 yorum