From 23bd69192706675df2b4275e57dfd1ab2a4fb9b6 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Mon, 5 Mar 2012 18:17:15 +0000 Subject: [PATCH] test --- modules/drama.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/drama.js b/modules/drama.js index 2e2e6f7..2334a6d 100644 --- a/modules/drama.js +++ b/modules/drama.js @@ -60,6 +60,9 @@ var drama = function(dbot) { 'listener': function(data) { var category = bayes.classify(data.message, function(category) { console.log(category + '!'); + if(category === 'beinganasshole') { + dbot.say(data.channel, data.user + ': Quit being an asshole') + } }.bind(this)); if(last.hasOwnProperty(data.channel)) {