1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-07-28 16:32:24 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Ayyan f6530da149
Merge 84bf8d4dbf into 8a78eb0443 2025-04-30 09:43:05 +10:00
ayn2op 84bf8d4dbf fix(gateway): remove GuildPositions field 2025-04-02 16:46:17 -04:00

View file

@ -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
}