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

[actions] moderateLockWaitList

Talos51 edited this page May 29, 2015 · 1 revision

moderateLockWaitList(locked, clear[, callback])

Alias of moderateLockBooth

Lock/Clear the Booth/Waitlist The bot needs to have manager permission or higher.


Parameters

locked boolean

Lock/Unlock the booth/waitlist.

clear boolean

Clear the booth/waitlist.

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Only lock booth/waitlist
bot.moderateLockWaitList(true, false);

// Lock and clear booth/waitlist
bot.moderateLockWaitList(true, true);

// Unlock booth/waitlist
bot.moderateLockWaitList(false, false);
Clone this wiki locally