-
Notifications
You must be signed in to change notification settings - Fork 823
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 message reaction remove emoji event #1563
base: master
Are you sure you want to change the base?
Add message reaction remove emoji event #1563
Conversation
@FedorLap2006 please give this a review when you get a chance |
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.
Sorry it took a long time.
@@ -309,6 +309,11 @@ type MessageReactionRemoveAll struct { | |||
*MessageReaction | |||
} | |||
|
|||
// MessageReactionRemoveEmoji is the data for a MessageReactionRemoveEmoji event. | |||
type MessageReactionRemoveEmoji struct { | |||
*MessageReaction |
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.
Since we're embedding MessageReaction
, I think it would be a good idea to mention in the struct that UserID
will not be present.
Like this:
+ // NOTE: will not be present in MessageReactionRemoveEmoji event
And add omitempty
to it.
@FedorLap2006 requesting re-review please |
Add support for gateway event MESSAGE_REACTION_REMOVE_EMOJI see