Skip to content

Instantly share code, notes, and snippets.

@BenTheHokie
Created July 25, 2012 02:29
Show Gist options
  • Save BenTheHokie/3174015 to your computer and use it in GitHub Desktop.
Save BenTheHokie/3174015 to your computer and use it in GitHub Desktop.
TTapi detecting if someone lames
bot.on('update_votes', function(data) {
if (data.room.metadata.votelog[0][1] == 'down') {
bot.pm('Someone lamed the song!','4e41eadea3f7517bc60595bb')
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment