summaryrefslogtreecommitdiffstats
path: root/Reaktor/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'Reaktor/config.py')
-rw-r--r--Reaktor/config.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/Reaktor/config.py b/Reaktor/config.py
new file mode 100644
index 00000000..92d97af5
--- /dev/null
+++ b/Reaktor/config.py
@@ -0,0 +1,24 @@
+
+debug = True
+name = 'kwasybot'
+
+irc_alarm_timeout = 300
+irc_hammer_interval = 10
+irc_kill_timeout = 360
+irc_nickname = name
+irc_server = 'irc.freenode.org'
+irc_port = 6667
+irc_channels = [
+ '#krebs'
+]
+
+irc_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' ] }
+]