Skip to content

$playlistAddTrack

$playlistAddTrack will add new track to a playlist.

Usage

$playlistAddTrack[name;title;type?;userID?]

Parameters

FieldTypeDescriptionRequired
namestringPlaylist nametrue
titlestringtrack title or an url to addtrue
type?stringSource type: youtube, youtubemusic, applemusic, soundcloud, spotify, deezer, etc. depends on your lavalink nodefalse
userID?snowflakeUser IDfalse

You require Playlist setup in your manager instance.

Example(s)

This will add new track to a playlist

1
client.command({
2
name: "addtrack",
3
code: `
4
$playlistAddTrack[My Playlist;Reckless]
5
`
6
});