mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
test
This commit is contained in:
parent
a9a88723e3
commit
23bd691927
@ -60,6 +60,9 @@ var drama = function(dbot) {
|
||||
'listener': function(data) {
|
||||
var category = bayes.classify(data.message, function(category) {
|
||||
console.log(category + '!');
|
||||
if(category === 'beinganasshole') {
|
||||
dbot.say(data.channel, data.user + ': Quit being an asshole')
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
if(last.hasOwnProperty(data.channel)) {
|
||||
|
Loading…
Reference in New Issue
Block a user