Skip to content
Math & Text slug

$slug — Turns a text into a link or name safe form: lower case, no accent, words joined by -

Turns a text into a link or name safe form: lower case, no accent, words joined by `-`.

Syntax

$slug[text]

Parameters

  • text (text, required) — The text.

Return Value

  • string.

Usage

$slug[Été à Paris !] → "ete-a-paris"

Example

$sendMessage[$slug[Été à Paris !]]

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.