Browse Source

Add Member to MessageReactionAdd (#1042)

https://discord.com/developers/docs/topics/gateway#message-reaction-add
Elliot Williams 3 years ago
parent
commit
092735083d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      events.go

+ 1 - 0
events.go

@@ -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.