summaryrefslogtreecommitdiffstats
path: root/Reaktor/config.json
blob: 7b84c55e5d6614a3a56a621c5af842711c1ea8a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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" ] }
    ]
  }
}