diff --git a/discord/component.go b/discord/component.go index 164ce8e..58ea3c9 100644 --- a/discord/component.go +++ b/discord/component.go @@ -498,8 +498,8 @@ func (i *TextInputComponent) MarshalJSON() ([]byte, error) { type Msg struct { Type ComponentType `json:"type"` *text - MinValues *int `json:"max_values,omitempty"` - MaxValues *int `json:"min_values,omitempty"` + MinValues *int `json:"min_values,omitempty"` + MaxValues *int `json:"max_values,omitempty"` } m := Msg{