Skip to content
Music queue

$queue — Lists the queued tracks, one line each.

Lists the queued tracks, one line each.

Syntax

$queue[(start);(end);(text);(separator)]

Parameters

  • start (Number, optional) — Start index (0 is the next track)
  • end (Number, optional) — End index, as Array.slice
  • text (String, optional) — Line per track, with {position}, {track.title}, {track.author}, {track.duration} and {track.url}
  • separator (String, optional) — Separator (default “,”)

Return Value

  • String.

Usage

$queue[start;end;text;separator] → result

Example

$sendMessage[$queue[start;end;text;separator]]

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.