API: MoveChannelData.Position shouldn't have omitempty
This commit is contained in:
parent
23b0abdfec
commit
ea27e7c88d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue