3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 22:39:26 +01:00
This commit is contained in:
Luke Slater 2012-02-15 21:05:26 +00:00
parent a9af977f9d
commit 81d34ce304

View File

@ -40,8 +40,7 @@ var drama = function(dbot) {
var msg = params.join(' '); var msg = params.join(' ');
bayes.train(msg, category); bayes.train(msg, category);
dbot.say(data.channel, '\'' + msg + '\' classified as \'' + category + '\''); dbot.say(data.channel, '\'' + msg + '\' classified as \'' + category + '\'');
}, }
}, },
'~classify': function(data, params) { '~classify': function(data, params) {