Search...

SlashCommandNumberOption

No summary provided.
declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin 
declare class SlashCommandNumberOption extends ApplicationCommandOptionBase implements ApplicationCommandNumericOptionMinMaxValueMixin 
Readonly

required

:

boolean

Protected

runRequiredValidations()

:

void

setMaxValue(max)

:

this

NameTypeOptionalDescription
maxnumberNoNone

setMinValue(min)

:

this

NameTypeOptionalDescription
minnumberNoNone

setRequired(required)

:

this

Marks the option as required
NameTypeOptionalDescription
requiredbooleanNoIf this option should be required
Inherited from ApplicationCommandOptionBase