From 7fc73600e5ddf6a5f79688a2d3491cf108b0db71 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 17 Jul 2014 13:15:35 +0200 Subject: Reaktor:nag can be explicitly be called --- Reaktor/config.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Reaktor/config.py') diff --git a/Reaktor/config.py b/Reaktor/config.py index 0483d46b..9feecbaf 100644 --- a/Reaktor/config.py +++ b/Reaktor/config.py @@ -58,6 +58,13 @@ public_commands = [ default_command('tell', cmd='tell-on_privmsg', env={ 'state_file': workdir + '/tell.txt' }), + default_command('nag',env={ + 'hosts_repo': 'https://github.com/krebscode/hosts', + 'services_repo': 'gitolite@localhost:services' + }), + simple_command('identify', env={ + 'config_filename': config_filename + }), # command not found { 'pattern': '^' + me_or_us + ':.*', 'argv': [ 'commands/respond','You are made of stupid!'] }, @@ -65,9 +72,6 @@ public_commands = [ { 'pattern': '.*' + me + '.*', 'argv': [ 'commands/say', 'I\'m famous' ] }, # identify via direct connect - simple_command('identify', env={ - 'config_filename': config_filename - }) ] commands = [ default_command('reload'), @@ -87,7 +91,7 @@ on_ping = [ 'argv': [ 'commands/nag' ], 'env': { 'hosts_repo': 'https://github.com/krebscode/hosts', - 'services_repo': '/home/tv/krebs/services' + 'services_repo': 'gitolite@localhost:services' }, 'targets': irc_channels } -- cgit v1.2.3