mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
apparently it was
This commit is contained in:
parent
397b732341
commit
5de0e8ad7d
@ -10,13 +10,9 @@ var report = function(dbot) {
|
||||
|
||||
this.internalAPI = {
|
||||
'notify': function(server, users, message) {
|
||||
console.log('called notify');
|
||||
var count = 0;
|
||||
async.eachSeries(users, function(nick, next) {
|
||||
setTimeout(function() {
|
||||
count++
|
||||
//console.log(nick + ' ' + count);
|
||||
//dbot.say(server, nick, message);
|
||||
dbot.say(server, nick, message);
|
||||
next();
|
||||
}, 1000);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user