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

commands.json (3655B)


      1 {
      2   "commands": [
      3     {
      4       "keyword": "help",
      5       "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?\n- !bug - Tell me the Bugs you have found :)\n- !afk - Tell the chat that you are away\n- !freifunk - Freifunk Memes \\(^^)/\n- !todo - List of things that have to be done",
      6       "argument": "1",
      7       "target": "from"
      8     },
      9     {
     10       "keyword": "hilfe",
     11       "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?\n- !bug - Nenne mir Fehler die du gefunden hast :)\n- !afk - Teile dem Chat deine Abwesendheit mit\n- !freifunk - Freifunk Memes \\(^^)/\n- !todo - Dinge die ich noch tun muss",
     12       "argument": "1",
     13       "target": "from"
     14     },
     15     {
     16       "keyword": "where",
     17       "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",
     18       "argument": "0",
     19       "target": "from"
     20     },
     21     {
     22       "keyword": "who",
     23       "message": "Everybody can come to the Nordlab e.V.",
     24       "argument": "0",
     25       "target": "from"
     26     },
     27     {
     28       "keyword": "when",
     29       "message": "The Hackerpace of Nordlab e.V. is usually opened every Monday at 6pm o'clock.",
     30       "argument": "0",
     31       "target": "from"
     32     },
     33     {
     34       "keyword": "source",
     35       "message": "You can find the source of this bot at https://github.com/MTRNord/nordlab-hackerspace-door",
     36       "argument": "0",
     37       "target": "from"
     38     },
     39     {
     40       "keyword": "license",
     41       "message": "You can find the license of this bot at https://github.com/MTRNord/nordlab-hackerspace-door/blob/master/LICENSE.md",
     42       "argument": "0",
     43       "target": "from"
     44     },
     45     {
     46       "keyword": "bug",
     47       "message": "You have found a bug? :O Send it right now to https://github.com/MTRNord/nordlab-hackerspace-door/issues",
     48       "argument": "0",
     49       "target": "from"
     50     },
     51     {
     52       "keyword": "klassiker",
     53       "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.",
     54       "argument": "0",
     55       "target": "to"
     56     },
     57     {
     58       "keyword": "stina",
     59       "message": "Stina liebt unzielgerichteten Unsinn *lach*",
     60       "argument": "0",
     61       "target": "to"
     62     },
     63     {
     64       "keyword": "afk",
     65       "before": "from",
     66       "message": " is now afk.",
     67       "argument": "0",
     68       "target": "to"
     69     },
     70     {
     71       "keyword": "alone",
     72       "before": "from",
     73       "message": " is now alone.",
     74       "argument": "0",
     75       "target": "to"
     76     },
     77     {
     78       "keyword": "freifunk",
     79       "message": "http://memegen.link/buzz/freifunk/everywhere.-the-dream.jpg",
     80       "argument": "0",
     81       "target": "to"
     82     }
     83   ]
     84 }