/
docs
/
packages
/
formatters
/
main
/
escapeSpoiler%3AFunction
Search...
K
formatters
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
main
Functions
blockQuote
bold
channelLink
channelMention
chatInputApplicationCommandMention
codeBlock
escapeBold
escapeBulletedList
escapeCodeBlock
escapeEscape
escapeHeading
escapeInlineCode
escapeItalic
escapeMarkdown
escapeMaskedLink
escapeNumberedList
escapeSpoiler
escapeStrikethrough
escapeUnderline
formatEmoji
heading
hideLinkEmbed
hyperlink
inlineCode
italic
messageLink
orderedList
quote
roleMention
spoiler
strikethrough
time
underscore
unorderedList
userMention
Enums
Faces
GuildNavigationMentions
HeadingLevel
Interfaces
EscapeMarkdownOptions
Types
RecursiveArray
TimestampStylesString
Variables
TimestampStyles
escapeSpoiler
export declare function
escapeSpoiler
(
text
:
string
)
:
string
;
export declare function
escapeSpoiler
(text
:
string
)
:
string
;
Summary
Escapes spoiler markdown in a string.
Parameters
Name
Type
Optional
Description
text
string
No
Content to escape