mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-09-28 21:29:25 +00:00
Gateway: Fixed GuildFolder.ID unmarshaling
This commit is contained in:
parent
d888a5a7ac
commit
eb46a89e6c
|
@ -108,7 +108,7 @@ type SettingsChannelOverride struct {
|
||||||
// GuildFolder holds a single folder that you see in the left guild panel.
|
// GuildFolder holds a single folder that you see in the left guild panel.
|
||||||
type GuildFolder struct {
|
type GuildFolder struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id,string"`
|
||||||
GuildIDs []discord.GuildID `json:"guild_ids"`
|
GuildIDs []discord.GuildID `json:"guild_ids"`
|
||||||
Color discord.Color `json:"color"`
|
Color discord.Color `json:"color"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue