$isPlaylistExists
$isPlaylistExists will return either true or false depending if the playlist exists or not.
Usage
$isPlaylistExists[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 either true or false depending if the playlist exists or not
1client.command({2 name: 'isplaylistexists',3 code: `4 $isPlaylistExists[My Playlist]5 `6});This will return either true or false depending if the playlist exists or not
1module.exports = [{2 name: 'isplaylistexists',3 code: `4 $isPlaylistExists[My Playlist]5 `6}]