API: MoveChannelData.Position shouldn't have omitempty

This commit is contained in:
diamondburned (Forefront) 2020-05-08 14:32:18 -07:00
parent 23b0abdfec
commit ea27e7c88d
1 changed files with 1 additions and 1 deletions

View File

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