declare class SharedNameAndDescription
This mixin holds name and description symbols for slash commands.
readonlyoptionalexternalLocalizationMap description_localizations? :
The description localizations of this command.
readonlyexternalstring description :
The description of this command.
readonlyoptionalexternalLocalizationMap name_localizations? :
The name localizations of this command.
readonlyexternalstring name :
The name of this command.
external setDescriptiondescription: string) : this (
description: string
Sets the description of this command.
external setDescriptionLocalizationlocale: LocaleString) : this (
locale: LocaleString
Sets a description localization for this command.
external setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
localizedDescriptions: LocalizationMap | null
Sets the description localizations for this command.
external setNamename: string) : this (
name: string
Sets the name of this command.
external setNameLocalizationlocale: LocaleString) : this (
locale: LocaleString
Sets a name localization for this command.
external setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
localizedNames: LocalizationMap | null
Sets the name localizations for this command.