SlashCommandNumberOption
No summary provided.
declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin Extends
ApplicationCommandOptionBaseReadonly
required
:
boolean
Inherited from ApplicationCommandOptionBase
Readonly
Protected
runRequiredValidations()
:
void
setMaxValue(max)
:
this
| Name | Type | Optional | Description |
|---|---|---|---|
| max | number | No | None |
setMinValue(min)
:
this
| Name | Type | Optional | Description |
|---|---|---|---|
| min | number | No | None |
setRequired(required)
:
this
Marks the option as required
Inherited from ApplicationCommandOptionBase
| Name | Type | Optional | Description |
|---|---|---|---|
| required | boolean | No | If this option should be required |