mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-07-30 09:40:53 +00:00
Compare commits
2 commits
a23250d396
...
f6530da149
Author | SHA1 | Date | |
---|---|---|---|
|
f6530da149 | ||
|
84bf8d4dbf |
|
@ -817,7 +817,6 @@ type (
|
||||||
Locale string `json:"locale"`
|
Locale string `json:"locale"`
|
||||||
Theme string `json:"theme"`
|
Theme string `json:"theme"`
|
||||||
|
|
||||||
GuildPositions []discord.GuildID `json:"guild_positions"`
|
|
||||||
GuildFolders []GuildFolder `json:"guild_folders"`
|
GuildFolders []GuildFolder `json:"guild_folders"`
|
||||||
RestrictedGuilds []discord.GuildID `json:"restricted_guilds"`
|
RestrictedGuilds []discord.GuildID `json:"restricted_guilds"`
|
||||||
|
|
||||||
|
@ -901,7 +900,7 @@ const (
|
||||||
type GuildFolderID int64
|
type GuildFolderID int64
|
||||||
|
|
||||||
func (g *GuildFolderID) UnmarshalJSON(b []byte) error {
|
func (g *GuildFolderID) UnmarshalJSON(b []byte) error {
|
||||||
var body = string(b)
|
body := string(b)
|
||||||
if body == "null" {
|
if body == "null" {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue