Skip to content

Commit

Permalink
Merge branch 'bwmarrin:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
HaynarCool authored Jul 18, 2022
2 parents 49f0738 + 0feaae8 commit 47554c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions interactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ type ApplicationCommandOption struct {
MinValue *float64 `json:"min_value,omitempty"`
// Maximum value of number/integer option.
MaxValue float64 `json:"max_value,omitempty"`
// Minimum length of string option.
MinLength *int `json:"min_length,omitempty"`
// Maximum length of string option.
MaxLength int `json:"max_length,omitempty"`
}

// ApplicationCommandOptionChoice represents a slash command option choice.
Expand Down

0 comments on commit 47554c9

Please sign in to comment.