diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-05-11 14:16:27 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-05-11 14:16:27 +0200 |
commit | 3e3e778a7725a80be7f7b4a9bdffd535efcc0093 (patch) | |
tree | e01ed2f2fafd18cf13a04197acca308d276f6f5c | |
parent | 0448390173ed3feb3795b38496f0c0fb59adeb7b (diff) | |
download | bitraf-bot-master.tar.gz bitraf-bot-master.tar.bz2 bitraf-bot-master.tar.xz bitraf-bot-master.zip |
-rw-r--r-- | lib/BitrafBot.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/BitrafBot.js b/lib/BitrafBot.js index b40f62e..c973717 100644 --- a/lib/BitrafBot.js +++ b/lib/BitrafBot.js @@ -84,7 +84,7 @@ function BitrafBot(config) { irc.on('connected', function(server) { console.log('connected to ' + server); irc.join(config.channel, function(error) { - irc.privmsg(config.channel, 'well hello yall'); + irc.notice(config.channel, 'well hello yall'); }); }); irc.on('privmsg', function(from, to, message) { @@ -102,10 +102,10 @@ function BitrafBot(config) { }); res.on('end', function () { var s = onCheckinsEnd(chunks); - irc.privmsg(to, s); + irc.notice(to, s); }); }).on('error', function(e) { - irc.privmsg(to, 'Problem with request: ' + e.message); + irc.notice(to, 'Problem with request: ' + e.message); }); } else if(message == ',who') { @@ -122,10 +122,10 @@ function BitrafBot(config) { }); res.on('end', function () { var s = onWhoEnd(chunks); - irc.privmsg(to, s); + irc.notice(to, s); }); }).on('error', function(e) { - irc.privmsg(to, 'Problem with request: ' + e.message); + irc.notice(to, 'Problem with request: ' + e.message); }); } }); |