1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-27 17:23:00 +00:00

Gateway: Fixed GuildFolder.ID unmarshaling

This commit is contained in:
diamondburned 2020-08-14 17:57:06 -07:00
parent d888a5a7ac
commit eb46a89e6c

View file

@ -108,7 +108,7 @@ type SettingsChannelOverride struct {
// GuildFolder holds a single folder that you see in the left guild panel.
type GuildFolder struct {
Name string `json:"name"`
ID int64 `json:"id"`
ID int64 `json:"id,string"`
GuildIDs []discord.GuildID `json:"guild_ids"`
Color discord.Color `json:"color"`
}