Music
moveInQueue
$moveInQueue[]
Moves the upcoming track at from to position to (both start at 1, 1 is the next track) and returns its title. Raises the error bad-from or bad-to when a position is outside the upcoming queue. Requires a configured music (Lavalink) service with an active player.
Syntax
bdfd
$moveInQueue[from;to]
Parameters
| Parameter | Description |
|---|---|
from |
Required - Current position of the track. |
to |
Required - New position of the track. |
Examples
Example
$description[Moved **$moveInQueue[2;1]** to the front.]
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.