mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 11:42:36 +01:00
apparently it was
This commit is contained in:
parent
397b732341
commit
5de0e8ad7d
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user