-
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
Add super-reactions to gateway events #6375
Conversation
I haven't tested this in a while, but can anyone confirm it still works this way? I will do some tests soon to make sure. |
also what's the word on getting this merged (or not merged even?) |
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.
Thanks for the addition! I'll open a PR to add type
after this one.
Refs: - discord/discord-api-docs#6375 - discord/discord-api-docs#6377 This PR renames the old `ReactionType` to `EmojiReactionType` as the concept of a reaction type now exists in the API.
* feat: super reactions Ref: discord/discord-api-docs@b1bed46 Ref: discord/discord-api-docs#6375 * fix ts lint * feat: allow getting reactions by type over REST * refactor: move the reaction object references to a variable
Adds super-reactions related event members missing from #6056
Was originally a PR to #6056 in Mateo-tem#1, but #6056 was just recently merged before the author of #6056 merged my PR.
I have observed these super-reaction related members in the MESSAGE_REACTION_ADD and MESSAGE_REACTION_REMOVE events as demonstrated below:
Add and Remove Screenshots
burst_colors
was left out of MESSAGE_REACTION_REMOVE because my findings show it is always empty even if it was a super-reactionI have also observed similar members in the MESSAGE_REACTION_REMOVE_EMOJI event, but they don't seem to work the same way so they were omitted.
Add and Remove All Emoji Screenshots