We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
You can randomize your playlist by doing the following:
bot.playlistAll(function(playlist) { console.log("Playlist length: " + playlist.list.length); var i = 0; var reorder = setInterval(function() { if (i <= playlist.list.length) { var nextId = Math.ceil(Math.random() * playlist.list.length); bot.playlistReorder(i, nextId); console.log("Song " + i + " changed."); i++; } else { clearInterval(reorder); console.log("Reorder Ended"); bot.speak("Reorder completed."); } }, 1000); });