Explorar o código

Fix permissions type for UserGuild

Carson Hoffman %!s(int64=4) %!d(string=hai) anos
pai
achega
90531dc713
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -611,7 +611,7 @@ type UserGuild struct {
 	Name        string `json:"name"`
 	Icon        string `json:"icon"`
 	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