commit c5dad266f81a70fbd2ff348ae16b8aa4fd513a4c
parent 38e7a3f60e85d3af3b31c477a7ec571e433d7b73
Author: Marcel Radzio <marcel@radzio-sh.de>
Date: Thu, 10 Dec 2015 23:25:44 +0100
maybe fixed the irc bot
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/handlers/irc.js b/handlers/irc.js
@@ -9,7 +9,9 @@ module.exports = {
bot.addListener('error', function(message) {
console.log('error: ', message);
});
- bot.send('say', 'Door Bot is starting to watch on the Door Status');
+ client.connect();
+ bot.send('msg', 'NickServ identify DoorBot');
+ bot.say('#hackerspace', 'Door Bot is starting to watch on the Door Status');
},
ircSend: function (door_status){
bot.send('say', 'Door Status changed to: ' + door_status);