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 9615ffa6fba73458309dcde80a262f809becf6bb
parent d2f650917dd6ba47be6334ba22bd0571802ab946
Author: Marcel Radzio <marcel@radzio-sh.de>
Date:   Thu, 10 Dec 2015 23:03:41 +0100

maybe fixed the irc bot

Diffstat:
Mhandlers/irc.js | 1+
Mmain.js | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/handlers/irc.js b/handlers/irc.js @@ -8,6 +8,7 @@ module.exports = { bot.addListener('error', function(message) { console.log('error: ', message); }); + bot.say('#hackerspace', 'Door Bot is starting to watch on the Door Status'); }, ircSend: function (door_status){ bot.say('#hackerspace', 'Door Status changed to: '); diff --git a/main.js b/main.js @@ -36,7 +36,7 @@ request.get('http://www.nordlab-ev.de/doorstate/status.txt', function (error, re } //ADD MODULE RUNTIMES DOWN HERE pushbullet.pushbulletSend(door_status); - //irc.ircSend(door_status); + irc.ircSend(door_status); }else{ door_status2 = door_status; }