$isPlaylistTrackExists
$isPlaylistTrackExists will check if the spesific track is exists inside the playlist.
Usage
$isPlaylistTrackExists[name;index?;userID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| name | string | Playlist name | true |
| index | number | Track position in the playlist | true |
| userID? | snowflake | User ID | false |
You require Playlist setup in your manager instance.
Example(s)
This will check if the spesific track is exists inside the playlist.
1client.command({2 name: 'trackexists',3 code: `4 $isPlaylistTrackExists[My Playlist;1]5 `6});This will check if the spesific track is exists inside the playlist.
1module.exports = [{2 name: "trackexists",3 code: `4 $isPlaylistTrackExists[My Playlist;1]5 `6}]