Explorar el Código

Add Member to MessageReactionAdd (#1042)

https://discord.com/developers/docs/topics/gateway#message-reaction-add
Elliot Williams hace 3 años
padre
commit
092735083d
Se han modificado 1 ficheros con 1 adiciones y 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.