Skip to content

Commit

Permalink
Fix permissions type for UserGuild
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonHoffman committed Jan 21, 2021
1 parent 0f0aaad commit 90531dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90531dc

Please sign in to comment.