瀏覽代碼

Missed one

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"`