summaryrefslogtreecommitdiffstats
path: root/Reaktor/config.json
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/config.json')
-rw-r--r--Reaktor/config.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/Reaktor/config.json b/Reaktor/config.json
new file mode 100644
index 00000000..7b84c55e
--- /dev/null
+++ b/Reaktor/config.json
@@ -0,0 +1,28 @@
+{
+ "main": {
+ "debug": true,
+ "name": "asybot"
+ },
+ "irc": {
+ "alarm_timeout": 300,
+ "hammer_interval": 10,
+ "kill_timeout": 360,
+ "nickname": "asybot",
+ "server": "irc.freenode.org",
+ "port": 6667,
+ "channels": [
+ "#krebs"
+ ],
+ "commands": [
+ { "pattern": "^(?:asybot|\\*):\\s*caps\\s*$", "argv": [ "commands/caps" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*hello\\s*$", "argv": [ "commands/hello" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*reload\\s*$", "argv": [ "commands/reload" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*badcommand\\s*$", "argv": [ "commands/badcommand" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*rev\\s*$", "argv": [ "commands/rev" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*uptime\\s*$", "argv": [ "commands/uptime" ] },
+ { "pattern": "^(?:asybot|\\*):\\s*nocommand\\s*$", "argv": [ "commands/nocommand" ] },
+ { "pattern": "^.*\\basybot(?:\\b[^:].*)?$", "argv": [ "commands/say", "I'm famous" ] }
+ ]
+ }
+}
+