From db3724d9cfe3c181d946198743795227eacd0a32 Mon Sep 17 00:00:00 2001 From: mutantmonkey Date: Fri, 12 Nov 2010 10:34:22 -0500 Subject: [PATCH] Added .help command that replaces the default help --- modules/info.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/modules/info.py b/modules/info.py index dbf2d44..e78a807 100755 --- a/modules/info.py +++ b/modules/info.py @@ -32,12 +32,14 @@ commands.priority = 'low' def help(phenny, input): response = ( - 'Hi, I\'m a bot. Say ".commands" to me in private for a list ' + - 'of my commands, or see http://inamidst.com/phenny/ for more ' + - 'general details. My owner is %s.' - ) % phenny.config.owner - phenny.reply(response) -help.rule = ('$nick', r'(?i)help(?:[?!]+)?$') + "Hey there, I'm the bot for #vtluug. Say \".commands\" to me " + + "in private for a list of my commands or check out my wiki " + + "page at %s. My owner is %s." + ) % (phenny.config.helpurl, phenny.config.owner) + #phenny.reply(response) + phenny.say(response) +#help.rule = ('$nick', r'(?i)help(?:[?!]+)?$') +help.commands = ['help'] help.priority = 'low' def stats(phenny, input):