-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document permission splits for expressions and events #6305
Conversation
Also, should #6260 be updated in order to reflect these changes or will you include the permission changes in whatever PR gets merged last or make an entirely new one? |
Hey @advaith1 I was the engineer who worked on the permissions split. I'm going to address your notes to:
I'll give you a re-review once these are both addressed and we update the docs. |
@advaith1
However the behavior around fetching is slightly more complicated. To clarify, this is what happens:
|
@andretran I'm confused, your comment doesn't describe how the API currently works or ever worked. The list emojis/stickers endpoints always returned all emojis/stickers, even ones created by other users, and bots rely on this behavior. There has never been separate behavior for bots on that endpoint AFAIK. The list endpoints have also always returned user objects as long as you have Manage Expressions. Get Guild Emoji is still giving me responses inconsistent with the other 3 endpoints I mentioned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming back around to this one -- far too late, thanks for the work on this @advaith1.
Confirmed that what you are seeing and how the API is doing is expected. Will get this merged.
* Document permission splits for expressions and events * Added info callout for docs delay --------- Co-authored-by: Colin Loretz <[email protected]>
hi im back
New permission flags:
CREATE_GUILD_EXPRESSIONS
:1 << 43
CREATE_EVENTS
:1 << 44
This PR:
Other notes:
MANAGE_EVENTS
but notCREATE_EVENTS
, but the API rejects the request.CREATE_GUILD_EXPRESSIONS
but notMANAGE_GUILD_EXPRESSIONS
, theuser
field is always included in List Guild Emojis, List Guild Stickers, and Get Guild Sticker, but not in Get Guild Emoji. Ideally, the last endpoint is changed to be consistent with the others. This PR documents the current behavior.resolves #6298