You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

hyperlink

export declare function hyperlink<C extends string>(content: C, url: URL_2): `[${C}](${string})`;
export declare function hyperlink<C extends string>(content: C, url: URL_2): `[${C}](${string})`;
Formats the content and the URL into a masked URL.
NameConstraintsOptionalDefaultDescription
CstringNoThis is inferred by the supplied content
NameTypeOptionalDescription
contentCNoThe content to display
urlURL_2NoThe URL the content links to