Created
August 23, 2013 02:55
-
-
Save StephanieSunshine/6315101 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main | |
# Start Eventmachine main loop | |
bot = Neurobot.new | |
Turntabler.interactive | |
Turntabler.run do | |
# Start the client handle | |
bot.client = Turntabler::Client.new('', '', :room => bot.roomid, :user_id => USERID, :auth => bot.authid, :reconnect => true, :reconnect_wait => 15) | |
# Pull in all the information and spit out the startup | |
bot.rehash(nil) | |
# Sync the user database with the current room settings | |
bot.syncUserList | |
# Start Auto dj watcher, alone dj watcher, and blacklist watcher | |
bot.backgroundLoopInit | |
bot.trapEvents | |
end # End Turntabler.run do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment