From 90531dc71378b24f8e1eebf9c3f67579c0aee305 Mon Sep 17 00:00:00 2001 From: Carson Hoffman Date: Wed, 20 Jan 2021 20:19:51 -0500 Subject: [PATCH] Fix permissions type for UserGuild --- structs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structs.go b/structs.go index 067bab2..44557ad 100644 --- a/structs.go +++ b/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