class SharedNameAndDescription

extends

SharedName
export declare class SharedNameAndDescription extends SharedName

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

protectedreadonly
data : SharedNameAndDescriptionData

clearDescriptionLocalization(
locale: LocaleString
) : this

Clears a description localization for this command.

clearDescriptionLocalizations() : this

Clears all description localizations for this command.

clearNameLocalization(
locale: LocaleString
) : this

Clears a name localization for this command.

Inherited from: SharedName

clearNameLocalizations() : this

Clears all name localizations for this command.

Inherited from: SharedName

setDescription(
description: string
) : this

Sets the description of this command.

setDescriptionLocalization(
locale: LocaleString
localizedDescription: string
) : this

Sets a description localization for this command.

setDescriptionLocalizations(
localizedDescriptions: Partial<Record<LocaleString, string>>
) : this

Sets the description localizations for this command.

setName(
name: string
) : this

Sets the name of this command.

Inherited from: SharedName

setNameLocalization(
locale: LocaleString
localizedName: string
) : this

Sets a name localization for this command.

Inherited from: SharedName

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

Sets the name localizations for this command.

Inherited from: SharedName