freifunk-bot

Modular parser for the hackerspace door status with handlers for multiple services
git clone git://archive.git.mtrnord.blog/MTRNord/freifunk-bot.git
Log | Files | Refs | README | LICENSE

commit 38e7a3f60e85d3af3b31c477a7ec571e433d7b73
parent 65b2c5a2cbd50670edff1819347fb0ea32961e6a
Author: Marcel Radzio <marcel@radzio-sh.de>
Date:   Thu, 10 Dec 2015 23:12:25 +0100

maybe fixed the irc bot

Diffstat:
Mhandlers/irc.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/handlers/irc.js b/handlers/irc.js @@ -9,9 +9,9 @@ module.exports = { bot.addListener('error', function(message) { console.log('error: ', message); }); - bot.say('#hackerspace', 'Door Bot is starting to watch on the Door Status'); + bot.send('say', 'Door Bot is starting to watch on the Door Status'); }, ircSend: function (door_status){ - bot.say('#hackerspace', 'Door Status changed to: '); + bot.send('say', 'Door Status changed to: ' + door_status); } }; \ No newline at end of file