From b1df5ae25e8bc336bb50ef5a2deb4dd40ee809ed Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 18 Dec 2013 16:32:41 +0100 Subject: Reaktor: s/(config).json/\1.py/ --- Reaktor/config.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Reaktor/config.py (limited to 'Reaktor/config.py') 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' ] } +] -- cgit v1.2.3