3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2013-08-25 22:11:26 +00:00
parent 51a7cbaffa
commit 1c31d46d58

View File

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