Optional ReadonlyautocompleteWhether this option utilizes autocomplete.
Optional ReadonlychoicesThe choices of this option.
ReadonlydescriptionThe description of this command.
Optional Readonlydescription_The description localizations of this command.
Optional Readonlymax_The maximum length of this option.
Optional Readonlymin_The minimum length of this option.
ReadonlynameThe name of this command.
Optional Readonlyname_The name localizations of this command.
ReadonlyrequiredWhether this option is required.
ReadonlytypeThe type of this option.
Adds multiple choices to this option.
The choices to add
ProtectedrunThis method runs required validators on this builder.
Whether this option uses autocomplete.
Whether this option should use autocomplete
Sets multiple choices for this option.
The choices to set
Sets the description of this command.
The description to use
Sets a description localization for this command.
The locale to set
The localized description for the given locale
Sets the maximum length of this string option.
The maximum length this option can be
Sets the minimum length of this string option.
The minimum length this option can be
Sets the name of this command.
The name to use
Sets a name localization for this command.
The locale to set
The localized name for the given locale
Sets the name localizations for this command.
The object of localized names to set
Sets whether this option is required.
Whether this option should be required
Serializes this builder to API-compatible JSON data.
A slash command string option.