No summary provided.
Extends
ApplicationCommandOptionBaseReadonly
Optional
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
Readonly
Optional
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
Inherited from ApplicationCommandOptionBase
Readonly
Readonly
Optional
Inherited from ApplicationCommandOptionChannelTypesMixin
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 |
Adds channel types to this option
| Name | Type | Optional | Description |
|---|---|---|---|
| channelTypes | ApplicationCommandOptionAllowedChannelTypes[] | No | The channel types to add |