This mixin holds name and description symbols for chat input commands.
Extends
SharedNameProtectedReadonly
Clears a description localization for this command.
Name | Type | Optional | Description |
---|---|---|---|
locale | Locale | No | The locale to clear |
Clears all description localizations for this command.
Clears a name localization for this command.
Name | Type | Optional | Description |
---|---|---|---|
locale | Locale | No | The locale to clear |
Clears all name localizations for this command.
Inherited from SharedNameSets the description of this command.
Name | Type | Optional | Description |
---|---|---|---|
description | string | No | The description to use |
Sets a description localization for this command.
Sets the description localizations for this command.
Sets the name of this command.
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The name to use |
Sets a name localization for this command.
Name | Type | Optional | Description |
---|---|---|---|
locale | Locale | No | The locale to set |
localizedName | string | No | The localized name for the given locale |
Sets the name localizations for this command.
Name | Type | Optional | Description |
---|---|---|---|
localizedNames | Partial<Record<Locale, string>> | No | The object of localized names to set |