Browse Source

Missed one

Chris Rhodes 9 năm trước cách đây
mục cha
commit
28d1f63219
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"`