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