mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
reporting didnt exist
This commit is contained in:
parent
5cc3b224c2
commit
25a48177a8
@ -39,11 +39,9 @@ var drama = function(dbot) {
|
||||
},
|
||||
|
||||
'listener': function(data) {
|
||||
if(reporting == true) {
|
||||
var category = bayes.classify(data.message, function(category) {
|
||||
console.log(category + '!');
|
||||
}.bind(this));
|
||||
}
|
||||
var category = bayes.classify(data.message, function(category) {
|
||||
console.log(category + '!');
|
||||
}.bind(this));
|
||||
|
||||
if(last.hasOwnProperty(data.channel)) {
|
||||
last[data.channel][data.user] = data.message;
|
||||
|
Loading…
Reference in New Issue
Block a user