class SharedNameAndDescription
extends
SharedNameexport declare class SharedNameAndDescription extends SharedName
This mixin holds name and description symbols for chat input commands.
protectedreadonlySharedNameAndDescriptionData data :
clearDescriptionLocalizationlocale: LocaleString) : this (
locale: LocaleString
Clears a description localization for this command.
clearNameLocalizationlocale: LocaleString) : this (
locale: LocaleString
Clears a name localization for this command.
Inherited from: SharedName
Clears all name localizations for this command.
Inherited from: SharedName
setDescriptiondescription: string) : this (
description: string
Sets the description of this command.
setDescriptionLocalizationlocale: LocaleStringlocalizedDescription: string) : this (
locale: LocaleString
localizedDescription: string
Sets a description localization for this command.
setDescriptionLocalizationslocalizedDescriptions: Partial<Record<LocaleString, string>>) : this (
localizedDescriptions: Partial<Record<LocaleString, string>>
Sets the description localizations for this command.
setNameLocalizationlocale: LocaleStringlocalizedName: string) : this (
locale: LocaleString
localizedName: string
Sets a name localization for this command.
Inherited from: SharedName
setNameLocalizationslocalizedNames: Partial<Record<LocaleString, string>>) : this (
localizedNames: Partial<Record<LocaleString, string>>
Sets the name localizations for this command.
Inherited from: SharedName