Skip to content

$playlistMaxSongs

$playlistMaxSongs will return or set the maximum tracks length in the playlist.

Usage

$playlistMaxSongs[value?]

Parameters

FieldTypeDescriptionRequired
valuenumberNo description providedfalse

You require Playlist setup in your manager instance.

Example(s)

This will return or set the maximum tracks length in the playlist

1
client.command({
2
name: 'maxsongs',
3
code: `
4
$playlistMaxSongs // return 20
5
$playlistMaxSongs[20]
6
`
7
});