Include permission overwrites in slash command channel entities #4715
Unanswered
QuantumToasted
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 3 replies
-
it is not worth sending what could be a lot of data in every interaction when an insignificant amount of commands actually need the channel's whole list of permission overwrites. |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Might I precede this entire discussion with a simple question: Why is this not the case already? If the goal of slash commands is to promote stateless/less-state-reliant bots, why require an additional REST request just to fetch a channel with its overwrites?
We have a slash command which modifies a guild channel's overwrites - with a target channel option to modify. The resolved entities passed alongside the command interaction includes the target channel, obviously, but that model is missing some fields, in our specific case, permission overwrites. Thus, without an active cache of channels or an extra REST request to fetch the channel again, there is no way to view the overwrites for the supplied channel.
Beta Was this translation helpful? Give feedback.
All reactions