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