diff --git a/modules/report/report.js b/modules/report/report.js index 8d8ec52..97f3361 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -10,8 +10,11 @@ var report = function(dbot) { this.internalAPI = { 'notify': function(server, users, message) { + var count = 0; async.eachSeries(users, function(nick, next) { - dbot.say(server, nick, message); + count++; + console.log(nick + ' ' + count); + //dbot.say(server, nick, message); setTimeout(function() { next(); }, 2000);