SlashCommandBooleanOption
No summary provided.
Extends
ApplicationCommandOptionBaseReadonly
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
Readonly
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
Inherited from ApplicationCommandOptionBase
Readonly
Sets the description
| Name | Type | Optional | Description |
|---|---|---|---|
| description | string | No | The description |
Sets a description localization
| Name | Type | Optional | Description |
|---|---|---|---|
| locale | LocaleString | No | The locale to set a description for |
| localizedDescription | string | null | No | The localized description for the given locale |
Sets the description localizations
| Name | Type | Optional | Description |
|---|---|---|---|
| localizedDescriptions | LocalizationMap | null | No | The dictionary of localized descriptions to set |
Sets a name localization
| Name | Type | Optional | Description |
|---|---|---|---|
| locale | LocaleString | No | The locale to set a description for |
| localizedName | string | null | No | The localized description for the given locale |
Sets the name localizations
| Name | Type | Optional | Description |
|---|---|---|---|
| localizedNames | LocalizationMap | null | No | The dictionary of localized descriptions to set |
Marks the option as required
| Name | Type | Optional | Description |
|---|---|---|---|
| required | boolean | No | If this option should be required |