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.
Thedark1337 edited this page Sep 20, 2016
·
1 revision
changeDJCycle(enabled[, callback])
Change the DJ cycle of the community.
The bot needs to have manager permission or higher.
Parameters
enabled boolean
Enable/Disable DJ Cycle.
callback function (optional)
Callback function to be called with data from server.
Returns
true if request queued; otherwise false
Example
// Enable DJ cyclebot.changeDJCycle(true);// Disable DJ Cycle with callback returnbot.changeDJCycle(false,newfunction(){bot.sendChat("DJ cycle disabled");});