You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
formatters
/
main
/
hideLinkEmbed%3AFunction
Search...
K
formatters
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Functions
blockQuote
bold
channelLink
channelMention
chatInputApplicationCommandMention
codeBlock
escapeBold
escapeBulletedList
escapeCodeBlock
escapeEscape
escapeHeading
escapeInlineCode
escapeItalic
escapeMarkdown
escapeMaskedLink
escapeNumberedList
escapeSpoiler
escapeStrikethrough
escapeUnderline
formatEmoji
hideLinkEmbed
hyperlink
inlineCode
italic
messageLink
quote
roleMention
spoiler
strikethrough
time
underscore
userMention
Enums
Faces
Interfaces
EscapeMarkdownOptions
Types
TimestampStylesString
Variables
TimestampStyles
hideLinkEmbed
Overload 1
of 2
Overload 1
Overload 2
export declare function
hideLinkEmbed
<
C
extends
string
>(
url
:
C
)
:
`<${
C
}>`
;
export declare function
hideLinkEmbed
<
C
extends
string
>(url
:
C
)
:
`<
${
C
}
>`
;
Summary
Wraps the URL into
<>
which stops it from embedding.
Type Parameters
Name
Constraints
Optional
Default
Description
C
string
No
This is inferred by the supplied content
Parameters
Name
Type
Optional
Description
url
C
No
The URL to wrap