1
0
Fork 0
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:
diamondburned (Forefront) 2020-05-08 14:32:18 -07:00
parent 23b0abdfec
commit ea27e7c88d

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