Math & Text
toSnakeCase
$toSnakeCase — Converts text to snake_case.
Converts text to snake_case.
Syntax
$toSnakeCase[text]
Parameters
- text (text, required) — The text.
Return Value
- string.
Usage
$toSnakeCase[Hello big world] → "hello_big_world"
Example
$sendMessage[$toSnakeCase[Hello big 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.