Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] shufflePlaylist

Talos51 edited this page Aug 12, 2015 · 3 revisions

shufflePlaylist(pid[, callback])

Shuffle a playlist.


Parameters

pid number

ID of the playlist to shuffle.

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Shuffle playlist with ID 123456
bot.shufflePlaylist(123456);
Clone this wiki locally