Skip to content

$playlistLength

$playlistLength will return the playlist length.

Usage

$playlistLength[name;userID?]

Parameters

FieldTypeDescriptionRequired
namestringPlaylist nametrue
userID?snowflakeUser IDfalse

You require Playlist setup in your manager instance.

Example(s)

This will return the playlist length

1
client.command({
2
name: 'playlistlength',
3
code: `
4
$playlistLength[My Playlist]
5
`
6
});