Seperate Manage Roles
and Manage Permissions
permissions
#5647
Unanswered
BrammyS
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
I think what you really want here is a separate field for role permissions in addition to the app_permissions field. A lot of permissions can be denied at channel level by overwrites, which is by design and important for permission management (see muted roles). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently I came across a weird issue with where my bot was saying it was missing the
Manage Roles
permission even though it had it on the role. After some digging it turned out that the channel where the interaction was used in had denied theManage Permissions
. This caused theapp_permissions
field to exclude theManage Roles
permission. Because they use the same value.I will have to calculate the permission myself with the roles that the bot has to avoid this, resulting in an unnecessary API call. This could be avoided if the
Manage Permissions
permission had a different value.Beta Was this translation helpful? Give feedback.
All reactions