mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-09-28 21:29:25 +00:00
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 a new issue