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

[actions] createPlaylist

TAT edited this page May 9, 2014 · 1 revision

createPlaylist(name[, callback])

Create a new playlist.


Parameters

name string

The name of the new playlist.

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Create a new playlist
bot.createPlaylist('My new Playlist');
Clone this wiki locally