Explorar o código

Add Member to MessageReactionAdd (#1042)

https://discord.com/developers/docs/topics/gateway#message-reaction-add
Elliot Williams %!s(int64=3) %!d(string=hai) anos
pai
achega
092735083d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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.