Chris Rhodes пре 9 година
родитељ
комит
28d1f63219
1 измењених фајлова са 1 додато и 1 уклоњено
  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"`