Skip to content
Music lavalinkQueueSize

$lavalinkQueueSize[]

Returns the number of tracks still waiting in the music queue after the current track. This count does not include the track that is currently playing nor the tracks already played. Takes no argument. Returns 0 if there is no active player or nothing is left to play.

Syntax

bdfd
$lavalinkQueueSize[]

Examples

Song Queue Length

$title[Music Queue 🎵]
$description[There are **$lavalinkQueueSize** songs waiting in queue.]
$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.