Search...

ApplicationCommandOptionBase

declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription 
declare abstract class ApplicationCommandOptionBase extends SharedNameAndDescription 

No summary provided.

Extends

SharedNameAndDescription
Readonly

required

:

boolean

Readonly

type

:

ApplicationCommandOptionType

Protected

runRequiredValidations()

:

void

setRequired(required)

:

this

Marks the option as required
NameTypeOptionalDescription
requiredbooleanNoIf this option should be required

toJSON()

:

APIApplicationCommandBasicOption