Skip to content
Music seekMusic

$seekMusic[]

Seeks to a specific position in the current track. The position parameter is a whole number of seconds (not milliseconds); a negative or non-numeric value raises the error Seek position must be a non-negative number of seconds. Use $lavalinkPosition (which returns milliseconds) to read the current position. Returns an empty string; with no active player nothing happens.

Syntax

bdfd
$seekMusic[position]

Examples

Seek to Timestamp

$seekMusic[120]
$title[Track Seeked ⏩]
$description[Jumped to position: **2:00** (120 seconds).]
$color[#AEEA00]

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.