mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
debug
This commit is contained in:
parent
51a7cbaffa
commit
1c31d46d58
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user