Lists & Helpers
containsAll
$containsAll — Tells whether the text contains every word of a list
Tells whether the text contains every word of a list.
Syntax
$containsAll[text;wordList;(separator);(caseSensitive)]
Parameters
- text (text, required) — The text to check.
- wordList (text, required) — The words to look for.
- separator (text, optional) — The text between two items. Default:
,.\nmeans a new line. - caseSensitive (
yesorno, optional) — Default:no.
Return Value
trueorfalse(falsewhen the word list is empty).
Usage
$containsAll[Hello World;hello,world] → "true"
Example
$sendMessage[$containsAll[Hello World;hello,world]]
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.