brobot is a bot designed for the Bass Music Room on plug.dj. Much of the framework was taken from Snarl, the bot for Coding Soundtrack but much of the code has also been rewritten.
The following things need to be installed in your environment to proceed.
node.js MongoDB
Copy config.js.example
to config.js
and configure the values therein. Most importantly, copy auth
from the cookies of your bot account's plug.dj account.
Run npm install
to install all the necessary packages.
Run cd lib && git clone git://github.com/atomjack/simple-lastfm.git
to install simple-lastfm
.
Run node bot.js
to get the bot started. :)
Things WILL break if there is not a DJ playing a song at all times. Things WILL break if someone woots during the first song after initial connect Homepage will not load if there are not 5 songs in the database with correct formatting.