Skip to content
Music lavalinkDuration

$lavalinkDuration[]

Returns the total duration of the currently playing track in milliseconds. To display a human-readable format (minutes:seconds), divide by 60000 for minutes and use modulo for seconds. Returns 0 if no track is playing.

Syntax

bdfd
$lavalinkDuration[]

Examples

Show Song Length

$title[Song Length ⏱️]
$description[Track duration: **$lavalinkDuration**]
$color[#AEEA00]
$sendMessage[]