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.
Talos51 edited this page May 29, 2015
·
1 revision
moderateLockWaitList(locked, clear[, callback])
Alias ofmoderateLockBooth
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/waitlistbot.moderateLockWaitList(true,false);// Lock and clear booth/waitlistbot.moderateLockWaitList(true,true);// Unlock booth/waitlistbot.moderateLockWaitList(false,false);