$playlistRemoveTrack
$playlistRemoveTrack
will remove a specific track in
the playlist.
Usage
$playlistRemoveTrack[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 remove a specific track in the playlist
1client.command({2 name: 'removetrack',3 code: `4 $playlistRemoveTrack[My Playlist;1]5 `6});
This will remove a specific track in the playlist
1module.exports = [{2 name: "removetrack",3 code: `4 $playlistRemoveTrack[My Playlist;1]5 `6}]