declare class SharedNameAndDescriptionThis mixin holds name and description symbols for slash commands.
readonlyoptionalexternaldescription_localizations? : LocalizationMap
The description localizations of this command.
readonlyexternaldescription : string
The description of this command.
readonlyoptionalexternalname_localizations? : LocalizationMap
The name localizations of this command.
readonlyexternalname : string
The name of this command.
external setDescription(description: string) : this
description: string
Sets the description of this command.
external setDescriptionLocalization(locale: LocaleString) : this
locale: LocaleString
Sets a description localization for this command.
external setDescriptionLocalizations(localizedDescriptions: LocalizationMap | null) : this
localizedDescriptions: LocalizationMap | null
Sets the description localizations for this command.
external setName(name: string) : this
name: string
Sets the name of this command.
external setNameLocalization(locale: LocaleString) : this
locale: LocaleString
Sets a name localization for this command.
external setNameLocalizations(localizedNames: LocalizationMap | null) : this
localizedNames: LocalizationMap | null
Sets the name localizations for this command.