Skip to content

$playlistMoveTrack

$playlistMoveTrack will move a track to a new position in the playlist.

Usage

$playlistMoveTrack[name;from;to;userID?]

Parameters

FieldTypeDescriptionRequired
namestringPlaylist nametrue
fromnumberOld track position in the playlisttrue
tonumberNew track position in the playlisttrue
userID?snowflakeUser IDfalse

You require Playlist setup in your manager instance.

Example(s)

This will move a track to a new position in the playlist

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