forked from GitHub/dbot
classify
This commit is contained in:
parent
4aed2a700c
commit
a9af977f9d
@ -42,6 +42,8 @@ var drama = function(dbot) {
|
||||
dbot.say(data.channel, '\'' + msg + '\' classified as \'' + category + '\'');
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
'~classify': function(data, params) {
|
||||
params.splice(0, 1);
|
||||
var msg = params.join(' ');
|
||||
@ -50,7 +52,6 @@ var drama = function(dbot) {
|
||||
}.bind(this));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
'onLoad': function() {
|
||||
|
Loading…
Reference in New Issue
Block a user