mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
classify
This commit is contained in:
parent
a9af977f9d
commit
81d34ce304
@ -40,8 +40,7 @@ var drama = function(dbot) {
|
||||
var msg = params.join(' ');
|
||||
bayes.train(msg, category);
|
||||
dbot.say(data.channel, '\'' + msg + '\' classified as \'' + category + '\'');
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
'~classify': function(data, params) {
|
||||
|
Loading…
Reference in New Issue
Block a user