summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/BitrafBot.js10
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);
});
}
});