3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 04:02:39 +01:00

apparently it was

This commit is contained in:
reality 2013-08-25 22:37:31 +00:00
parent 397b732341
commit 5de0e8ad7d

View File

@ -10,13 +10,9 @@ var report = function(dbot) {
this.internalAPI = { this.internalAPI = {
'notify': function(server, users, message) { 'notify': function(server, users, message) {
console.log('called notify');
var count = 0;
async.eachSeries(users, function(nick, next) { async.eachSeries(users, function(nick, next) {
setTimeout(function() { setTimeout(function() {
count++ dbot.say(server, nick, message);
//console.log(nick + ' ' + count);
//dbot.say(server, nick, message);
next(); next();
}, 1000); }, 1000);
}); });