spoiler constant
MessageDecoration
const spoiler
Spoiler text is surrounded with ||
. In discord client will render as clickable box to reveal text.
Implementation
static const MessageDecoration spoiler = MessageDecoration._new("||");