class SharedName

external
declare class SharedName

This mixin holds name and description symbols for chat input commands.

protectedreadonlyexternal
data : SharedNameData

external
clearNameLocalization(
locale: Locale
) : this

Clears a name localization for this command.

external
clearNameLocalizations() : this

Clears all name localizations for this command.

external
setName(
name: string
) : this

Sets the name of this command.

external
setNameLocalization(
locale: Locale
localizedName: string
) : this

Sets a name localization for this command.

external
setNameLocalizations(
localizedNames: Partial<Record<Locale, string>>
) : this

Sets the name localizations for this command.