1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-29 21:58:57 +00:00

Reactions instead of reaction in message struct

This commit is contained in:
Juby210 2020-02-10 16:12:47 +01:00 committed by GitHub
parent f33dc2ee75
commit 914eb27a5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ type Message struct {
Attachments []Attachment `json:"attachments"` Attachments []Attachment `json:"attachments"`
Embeds []Embed `json:"embeds"` Embeds []Embed `json:"embeds"`
Reactions []Reaction `json:"reaction,omitempty"` Reactions []Reaction `json:"reactions,omitempty"`
// Used for validating a message was sent // Used for validating a message was sent
Nonce string `json:"nonce,omitempty"` Nonce string `json:"nonce,omitempty"`