diff --git a/gateway/commands.go b/gateway/commands.go index 2182e83..f2e3704 100644 --- a/gateway/commands.go +++ b/gateway/commands.go @@ -149,7 +149,7 @@ type GuildSubscribeData struct { GuildID discord.GuildID `json:"guild_id"` // Channels is not documented. It's used to fetch the right members sidebar. - Channels map[discord.ChannelID][][2]int `json:"channels"` + Channels map[discord.ChannelID][][2]int `json:"channels,omitempty"` } func (g *Gateway) GuildSubscribe(data GuildSubscribeData) error {