瀏覽代碼

Fix permissions type for UserGuild

Carson Hoffman 4 年之前
父節點
當前提交
90531dc713
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -611,7 +611,7 @@ type UserGuild struct {
 	Name        string `json:"name"`
 	Name        string `json:"name"`
 	Icon        string `json:"icon"`
 	Icon        string `json:"icon"`
 	Owner       bool   `json:"owner"`
 	Owner       bool   `json:"owner"`
-	Permissions int    `json:"permissions"`
+	Permissions int64  `json:"permissions,string"`
 }
 }
 
 
 // A GuildParams stores all the data needed to update discord guild settings
 // A GuildParams stores all the data needed to update discord guild settings