ApplicationCommandOptionBase
declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription
declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription
No summary provided.
Extends
SharedNameAndDescriptionReadonly
required
:
boolean
Readonly
type
:
ApplicationCommandOptionType
Protected
runRequiredValidations()
:
void
setRequired(required)
:
this
Marks the option as required
Name | Type | Optional | Description |
---|---|---|---|
required | boolean | No | If this option should be required |