mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
classify
This commit is contained in:
parent
a9af977f9d
commit
81d34ce304
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user