From 1c31d46d58622ed8285454b4008c876808f5d1a1 Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 25 Aug 2013 22:11:26 +0000 Subject: [PATCH] debug --- modules/report/report.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);