Music
lavalinkDuration
$lavalinkDuration[]
Returns the total duration of the current track in milliseconds, as a plain number (never formatted as minutes:seconds). To display minutes and seconds you have to compute them yourself. Takes no argument. Returns 0 if there is no active player or no current track.
Syntax
bdfd
$lavalinkDuration[]
Examples
Show Song Length
$title[Song Length ⏱️]
$description[Track duration: **$lavalinkDuration**]
$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.