class SharedName

export declare class SharedName

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

protectedreadonly
data : SharedNameData

clearNameLocalization(
locale: LocaleString
) : this

Clears a name localization for this command.

clearNameLocalizations() : this

Clears all name localizations for this command.

setName(
name: string
) : this

Sets the name of this command.

setNameLocalization(
locale: LocaleString
localizedName: string
) : this

Sets a name localization for this command.

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

Sets the name localizations for this command.