Chris Rhodes před 9 roky
rodič
revize
28d1f63219
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      message.go

+ 1 - 1
message.go

@@ -17,7 +17,7 @@ import (
 // A Message stores all data related to a specific Discord message.
 type Message struct {
 	ID              string        `json:"id"`
-	Author          User          `json:"author"`
+	Author          *User         `json:"author"`
 	Content         string        `json:"content"`
 	Attachments     []*Attachment `json:"attachments"`
 	Tts             bool          `json:"tts"`