alaingilbert / Turntable-API

Allows you to create bots for turntable.fm
http://alaingilbert.github.com/Turntable-API/
MIT License
317 stars 98 forks source link

DJing Functions #170

Closed ghost closed 11 years ago

ghost commented 11 years ago

How do you make the bot DJ on the stage with a special command like step up and step down.

alaingilbert commented 11 years ago
addDj ( [callback:fn] )

Add yourself as a Dj.

remDj ( [[userId:string, ]callback:fn] )

Remove a Dj.

Example:

bot.addDj(function() {
  setTimeout(function() {
    bot.remDj();
  }, 10000)
});
ghost commented 11 years ago

OK Thank You for the help.