/
docs
/
packages
/
builders
/
main
/
SharedName%3AClass
Search...
K
builders
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Classes
ActionRowBuilder
AllowedMentionsBuilder
ApplicationCommandNumericOptionMinMaxValueMixin
ApplicationCommandOptionBase
ApplicationCommandOptionChannelTypesMixin
ApplicationCommandOptionWithAutocompleteMixin
ApplicationCommandOptionWithChoicesMixin
AttachmentBuilder
BaseButtonBuilder
BaseSelectMenuBuilder
ChannelSelectMenuBuilder
ChatInputCommandAttachmentOption
ChatInputCommandBooleanOption
ChatInputCommandBuilder
ChatInputCommandChannelOption
ChatInputCommandIntegerOption
ChatInputCommandMentionableOption
ChatInputCommandNumberOption
ChatInputCommandRoleOption
ChatInputCommandStringOption
ChatInputCommandSubcommandBuilder
ChatInputCommandSubcommandGroupBuilder
ChatInputCommandUserOption
CommandBuilder
ComponentBuilder
ContainerBuilder
ContextMenuCommandBuilder
CustomIdButtonBuilder
DangerButtonBuilder
EmbedAuthorBuilder
EmbedBuilder
EmbedFieldBuilder
EmbedFooterBuilder
EmojiOrLabelButtonMixin
FileBuilder
LinkButtonBuilder
MediaGalleryBuilder
MediaGalleryItemBuilder
MentionableSelectMenuBuilder
MessageBuilder
MessageContextCommandBuilder
MessageReferenceBuilder
ModalBuilder
PollAnswerBuilder
PollAnswerMediaBuilder
PollBuilder
PollMediaBuilder
PollQuestionBuilder
PremiumButtonBuilder
PrimaryButtonBuilder
RoleSelectMenuBuilder
SecondaryButtonBuilder
SectionBuilder
SeparatorBuilder
SharedChatInputCommandOptions
SharedChatInputCommandSubcommands
SharedName
SharedNameAndDescription
StringSelectMenuBuilder
StringSelectMenuOptionBuilder
SuccessButtonBuilder
TextDisplayBuilder
TextInputBuilder
ThumbnailBuilder
UserContextCommandBuilder
UserSelectMenuBuilder
Functions
createComponentBuilder
disableValidators
embedLength
enableValidators
isValidationEnabled
normalizeArray
resolveAccessoryComponent
resolveBuilder
Interfaces
ActionRowBuilderData
ApplicationCommandNumericOptionMinMaxValueData
ApplicationCommandOptionBaseData
ApplicationCommandOptionChannelTypesData
ApplicationCommandOptionWithAutocompleteData
ApplicationCommandOptionWithChoicesData
ChatInputCommandSubcommandGroupData
CommandData
ComponentBuilderBaseData
ContainerBuilderData
EmbedBuilderData
EmojiOrLabelButtonData
MappedComponentTypes
MediaGalleryBuilderData
MessageBuilderData
ModalBuilderData
PollAnswerData
PollData
SectionBuilderData
SharedChatInputCommandOptionsData
SharedChatInputCommandSubcommandsData
SharedNameAndDescriptionData
SharedNameData
StringSelectMenuData
Types
AnyActionRowComponentBuilder
ApplicationCommandOptionAllowedChannelTypes
AutocompletableOptions
ButtonBuilder
ContainerComponentBuilders
ContextMenuCommandType
CustomIdButtonStyle
MessageActionRowComponentBuilder
MessageComponentBuilder
MessageTopLevelComponentBuilder
ModalActionRowComponentBuilder
ModalComponentBuilder
RestOrArray
SectionBuilderAccessory
Variables
actionRowPredicate
allowedMentionPredicate
ApplicationCommandOptionAllowedChannelTypes
attachmentPredicate
basicOptionPredicate
buttonPredicate
channelOptionPredicate
chatInputCommandPredicate
chatInputCommandSubcommandGroupPredicate
chatInputCommandSubcommandPredicate
containerPredicate
customIdPredicate
embedAuthorPredicate
embedFieldPredicate
embedFooterPredicate
embedPredicate
emojiPredicate
filePredicate
integerOptionPredicate
localeMapPredicate
mediaGalleryItemPredicate
mediaGalleryPredicate
memberPermissionsPredicate
messageCommandPredicate
messagePredicate
messageReferencePredicate
modalPredicate
numberOptionPredicate
pollAnswerMediaPredicate
pollAnswerPredicate
pollPredicate
pollQuestionPredicate
refineURLPredicate
sectionPredicate
selectMenuChannelPredicate
selectMenuMentionablePredicate
selectMenuRolePredicate
selectMenuStringOptionPredicate
selectMenuStringPredicate
selectMenuUserPredicate
separatorPredicate
stringOptionPredicate
textDisplayPredicate
textInputPredicate
thumbnailPredicate
userCommandPredicate
version
SharedName
export declare class
SharedName
export declare class
SharedName
Summary
This mixin holds name and description symbols for chat input commands.
Properties
Protected
Readonly
data
:
SharedNameData
Methods
clearNameLocalization(locale)
:
this
Clears a name localization for this command.
Name
Type
Optional
Description
locale
Locale
No
The locale to clear
clearNameLocalizations()
:
this
Clears all name localizations for this command.
setName(name)
:
this
Sets the name of this command.
Name
Type
Optional
Description
name
string
No
The name to use
setNameLocalization(locale, localizedName)
:
this
Sets a name localization for this command.
Name
Type
Optional
Description
locale
Locale
No
The locale to set
localizedName
string
No
The localized name for the given
locale
setNameLocalizations(localizedNames)
:
this
Sets the name localizations for this command.
Name
Type
Optional
Description
localizedNames
Partial
<
Record
<
Locale
,
string
>>
No
The object of localized names to set