builders
C
ActionRowBuilder
C
ApplicationCommandNumericOptionMinMaxValueMixin
C
ApplicationCommandOptionBase
C
ApplicationCommandOptionChannelTypesMixin
C
ApplicationCommandOptionWithChoicesAndAutocompleteMixin
C
ButtonBuilder
C
ComponentBuilder
C
ContextMenuCommandBuilder
C
EmbedBuilder
C
ModalBuilder
C
SelectMenuBuilder
C
SelectMenuOptionBuilder
C
SharedNameAndDescription
C
SharedSlashCommandOptions
C
SlashCommandAttachmentOption
C
SlashCommandBooleanOption
C
SlashCommandBuilder
C
SlashCommandChannelOption
C
SlashCommandIntegerOption
C
SlashCommandMentionableOption
C
SlashCommandNumberOption
C
SlashCommandRoleOption
C
SlashCommandStringOption
C
SlashCommandSubcommandBuilder
C
SlashCommandSubcommandGroupBuilder
C
SlashCommandUserOption
C
TextInputBuilder
F
blockQuote
F
bold
F
channelLink
F
channelMention
F
codeBlock
F
createComponentBuilder
F
embedLength
F
formatEmoji
F
hideLinkEmbed
F
hyperlink
F
inlineCode
F
isEquatable
F
isJSONEncodable
F
italic
F
messageLink
F
normalizeArray
F
quote
F
roleMention
F
spoiler
F
strikethrough
F
time
F
underscore
F
userMention
E
Faces
I
EmbedImageData
I
Equatable
I
IconData
I
JSONEncodable
I
MappedComponentTypes
I
SlashCommandBuilder
I
SlashCommandChannelOption
I
SlashCommandIntegerOption
I
SlashCommandNumberOption
I
SlashCommandOptionsOnlyBuilder
I
SlashCommandStringOption
I
SlashCommandSubcommandBuilder
I
SlashCommandSubcommandGroupBuilder
I
SlashCommandSubcommandsOnlyBuilder
I
ToAPIApplicationCommandOptions
T
AnyAPIActionRowComponent
T
AnyComponentBuilder
T
ApplicationCommandOptionAllowedChannelTypes
T
ContextMenuCommandType
T
EmbedAuthorData
T
EmbedAuthorOptions
T
EmbedFooterData
T
EmbedFooterOptions
T
MessageActionRowComponentBuilder
T
MessageComponentBuilder
T
ModalActionRowComponentBuilder
T
ModalComponentBuilder
T
RestOrArray
T
RGBTuple
T
TimestampStylesString
V
disableValidators
V
enableValidators
V
isValidationEnabled
V
TimestampStyles
builders
Overload 1
Overload 2
Overload 3
Overload 4

function hyperlink

export declare function hyperlink<C extends string>(content: C, url: URL): `[${C}](${string})`;

Formats the content and the URL into a masked URL

Type Parameters

C extends string

Parameters

content: C
The content to display
url: URL
The URL the content links to
VercelCloudflare
Community
DiscordGitHub discussions
Project
discord.jsdiscord.js documentationdiscord-api-types