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 e394d785952b9423baf4a193cad7d2cb2a5aed03
parent 873c833950f3e7adff44b4563d35cb91f5ef0235
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 10 Mar 2016 20:08:01 +0100

Re-Add json files

Diffstat:
Mconfigs/commands.json | 96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mconfigs/params.json | 15+++++++++++++++
2 files changed, 111 insertions(+), 0 deletions(-)

diff --git a/configs/commands.json b/configs/commands.json @@ -0,0 +1,96 @@ +{ + "commands": [ + { + "keyword": "help", + "message": "Here is your Help!\nCommand List:\n- !help - Shows this page.\n- !DoorStatus - Shows the actual Door Status in an PM\n- !DoorStatus channel - Shows the actual Door Status in the channel from where it was run\n- !where - Shows the address of the Nordlab e.V.\n- !who - Shows who is allowed to come to the Nordlab e.V.\n- !when - Shows who the Nordlab e.V. Hackerspace usually is open\n- !source - Shows where the source of this bot is.\n- !license - What is the license of the bot?????????", + "argument": "1", + "target": "from" + }, + { + "keyword": "hilfe", + "message": "Hier ist die Hilfe!\nBefehl-Liste:\n- !hilfe - Zeigt diese Seite an.\n- !DoorStatus - Sendet eine PM mit dem aktuellen Status\n- !DoorStatus channel - Sendet in den Channel wo der Befehl ausgeführt wurde den aktuellen Status\n- !where - Zeigt die Addresse vom Nordlab e.V.\n- !who - Zeigt wer alles in den Nordlab e.V. kommen darf\n- !when - Zeigt wann der Nordlab e.V. Hackerspace geöffnet hat\n- !source - Zeigt wo die Sourcen des Bot's sind.\n- !license - HILFE! Welche Lizenz hat der Bot?????????", + "argument": "1", + "target": "from" + }, + { + "keyword": "where", + "message": "You can find the Hackerspace in:\nOffener Kanal Flensburg\nSt.-Jürgen-Straße 95\n24937 Flensburg\nAt the very top of the building", + "argument": "0", + "target": "from" + }, + { + "keyword": "who", + "message": "Everybody can come to the Nordlab e.V.", + "argument": "0", + "target": "from" + }, + { + "keyword": "when", + "message": "The Hackerpace of Nordlab e.V. is usually opened every Monday at 6pm o'clock.", + "argument": "0", + "target": "from" + }, + { + "keyword": "source", + "message": "You can find the source of this bot at https://github.com/MTRNord/nordlab-hackerspace-door", + "argument": "0", + "target": "from" + }, + { + "keyword": "license", + "message": "You can find the license of this bot at https://github.com/MTRNord/nordlab-hackerspace-door/blob/master/LICENSE.md", + "argument": "0", + "target": "from" + }, + { + "keyword": "bug", + "message": "You have found an bug? :O Send it right now to https://github.com/MTRNord/nordlab-hackerspace-door/issues", + "argument": "0", + "target": "from" + }, + { + "keyword": "klassiker", + "message": "Für mehr oder weniger hilfreiche Kommentare den klassiker fragen und wenn er mal nicht reagiert ist er damit beschäftigt dem MTRNord damit zu queälen seinen realnamen nicht zu sagen. :( <-- sad MTRNord face.", + "argument": "0", + "target": "to" + }, + { + "keyword": "stina", + "message": "Stina liebt unzielgerichteten Unsinn *lach*", + "argument": "0", + "target": "to" + }, + { + "keyword": "afk", + "before": "from", + "message": " is now afk.", + "argument": "0", + "target": "to" + }, + { + "keyword": "alone", + "before": "from", + "message": " is now alone.", + "argument": "0", + "target": "to" + }, + { + "keyword": "freifunk", + "message": "http://memegen.link/buzz/freifunk/everywhere.-the-dream.jpg", + "argument": "0", + "target": "to" + }, + { + "keyword": "todo", + "message": "- Add ability to do multiple server connections\n- Add SSH Admin Control Server for editing the bot easily", + "argument": "0", + "target": "from" + }, + { + "keyword": "xmas", + "message": "Der NordlabBot wünscht euch allen eine frohe und besinliche Weihnachtszeit :)", + "argument": "0", + "target": "to" + } + ] +} diff --git a/configs/params.json b/configs/params.json @@ -0,0 +1,15 @@ +{ + "botname": "NordlabBot", + "autoupdate": 1, + "disconnect_meassage": "Bot was stopped!", + "servers": [ + { + "servername": "Lugfl", + "serveraddress": "irc.lugfl.de", + "main_channel": "#hackerspace", + "nickserv_pass": "NordlabBotPass", + "active": 1, + "debug": 0 + } + ] +}