SlashCommandSubcommandsOnlyBuilder
No summary provided.
Extends
SharedNameAndDescriptionExtends
Pick<SlashCommandBuilder, 'toJSON' | 'addSubcommand' | 'addSubcommandGroup'>Readonly
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
Readonly
Inherited from SharedNameAndDescription
Inherited from SharedNameAndDescription
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 |