3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

more debugging

This commit is contained in:
reality 2013-08-25 22:32:51 +00:00
parent fdd3187c82
commit dd7abf2fff

View File

@ -15,7 +15,7 @@ var report = function(dbot) {
async.eachSeries(users, function(nick, next) { async.eachSeries(users, function(nick, next) {
setTimeout(function() { setTimeout(function() {
count++ count++
console.log(nick + ' ' + count); //console.log(nick + ' ' + count);
//dbot.say(server, nick, message); //dbot.say(server, nick, message);
next(); next();
}, 1000); }, 1000);
@ -134,6 +134,7 @@ var report = function(dbot) {
}, },
'~notify': function(event) { '~notify': function(event) {
console.log('~notify triggered');
var channelName = event.input[1], var channelName = event.input[1],
message = event.input[2]; message = event.input[2];