You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.
Move one or multiple song(s) in a playlist before an another song.
Parameters
playlistID number
The ID of the playlist to manage.
songID number | array[number]
The ID(s) of the song(s) to move.
before_songID number
The ID of the song before the new index.
callback function (optional)
Callback function to be called with data from server.
Returns
true if request queued; otherwise false
Example
// Move song with ID abcdef in playlist with ID 123456789 before song with ID uwvxyzbot.playlistMoveMedia(123456789,abcdef,uvwxyz);// Move songs with IDs abcdef, ghijkl, mnopqr in playlist with ID 123456789 before song with ID uwvxyzvarsongs=[abcdef,ghijkl,mnopqr];bot.playlistMoveMedia(123456789,songs,uvwxyz);