Skip to content

$getCurrentTrackDuration

$getCurrentTrackDuration will return the current track duration.

Usage

$getCurrentTrackDuration

Example(s)

This will return the current track duration in ms:

1
client.command({
2
name: "getCurrentTrackDuration",
3
code: `
4
$getCurrentTrackDuration
5
`
6
});