Add Member to MessageReactionAdd (#1042)

https://discord.com/developers/docs/topics/gateway#message-reaction-add
This commit is contained in:
Elliot Williams 2021-12-04 17:02:45 +00:00 committed by GitHub
parent 55f4934ba7
commit 092735083d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,6 +194,7 @@ func (m *MessageDelete) UnmarshalJSON(b []byte) error {
// MessageReactionAdd is the data for a MessageReactionAdd event.
type MessageReactionAdd struct {
*MessageReaction
Member *Member `json:"member,omitempty"`
}
// MessageReactionRemove is the data for a MessageReactionRemove event.