From ea27e7c88dd4752be818504a27cca5308c182526 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Fri, 8 May 2020 14:32:18 -0700 Subject: [PATCH] API: MoveChannelData.Position shouldn't have omitempty --- api/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/channel.go b/api/channel.go index 5af7f49..875be2f 100644 --- a/api/channel.go +++ b/api/channel.go @@ -48,7 +48,7 @@ func (c *Client) CreateChannel( type MoveChannelData struct { ID discord.Snowflake `json:"id"` - Position json.OptionInt `json:"position,omitempty"` + Position json.OptionInt `json:"position"` } // MoveChannel modifies the position of channels in the guild. Requires