Skip to content

$isPlaylistTrackExists

$isPlaylistTrackExists will check if the spesific track is exists inside the playlist.

Usage

$isPlaylistTrackExists[name;index?;userID?]

Parameters

FieldTypeDescriptionRequired
namestringPlaylist nametrue
indexnumberTrack position in the playlisttrue
userID?snowflakeUser IDfalse

You require Playlist setup in your manager instance.

Example(s)

This will check if the spesific track is exists inside the playlist.

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