Skip to content
Formatting spoiler

$spoiler — Hides the text behind a spoiler.

Hides the text behind a spoiler.

Syntax

$spoiler[text]

Parameters

  • text (text, required) — The text.

Return Value

  • string.

Usage

$spoiler[hi] → "||hi||"

Example

$sendMessage[$spoiler[hi]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.