Added .help command that replaces the default help

master
mutantmonkey 2010-11-12 10:34:22 -05:00
parent a28759c83d
commit db3724d9cf
1 changed files with 8 additions and 6 deletions

View File

@ -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):