$playlistLength
$playlistLength
will return the playlist length.
Usage
$playlistLength[name;userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
name | string | Playlist name | true |
userID? | snowflake | User ID | false |
You require
Playlist
setup in your manager instance.
Example(s)
This will return the playlist length
1client.command({2 name: 'playlistlength',3 code: `4 $playlistLength[My Playlist]5 `6});
This will return the playlist length
1module.exports = [{2 name: 'playlistLength',3 code: `4 $playlistLength[My Playlist]5 `6}]