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

spoiler

export declare function spoiler<C extends string>(content: C): `||${C}||`;
export declare function spoiler<C extends string>(content: C): `||${C}||`;
Formats the content into a spoiler.
NameConstraintsOptionalDefaultDescription
CstringNoThis is inferred by the supplied content
NameTypeOptionalDescription
contentCNoThe content to wrap