Skip to content
Lists & Helpers listReverse

$listReverse — Reverses the order of a list

Reverses the order of a list.

Syntax

$listReverse[list;(separator)]

Parameters

  • list (text, required) — The items.
  • separator (text, optional) — The text between two items. Default: ,. \n means a new line.

Return Value

  • string.

Usage

$listReverse[1,2,3] → "3,2,1"

Example

$sendMessage[$listReverse[1,2,3]]

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.