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

[actions] moderateMoveDJ

Alex Pham edited this page Aug 31, 2016 · 2 revisions

moderateMoveDJ(userID, index[, callback])

Move a DJ in the waitlist. The bot needs to have manager permission or higher.


Parameters

userID number

ID of user to move.

index number

Index in the waitlist between 1 and 50

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Move user 'xxxxxx' to position nb in the waitlist
bot.moderateMoveDJ('xxxxxx', nb);
Clone this wiki locally