瀏覽代碼

Merge pull request #146 from iopred/patch-3

Support the new bot field on User.
Bruce 8 年之前
父節點
當前提交
20e9ea5934
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      structs.go

+ 1 - 0
structs.go

@@ -241,6 +241,7 @@ type User struct {
 	Avatar        string `json:"Avatar"`
 	Verified      bool   `json:"verified"`
 	Discriminator string `json:"discriminator"`
+	Bot           bool   `json:"bot"`
 }
 
 // A Settings stores data for a specific users Discord client settings.