Allow the user to configure the port in the config, and other fixes.

This commit is contained in:
Sean B. Palmer
2008-04-26 15:54:35 +01:00
parent 286d4a8497
commit 986953131d
8 changed files with 22 additions and 7 deletions

View File

@@ -16,8 +16,8 @@ def doc(phenny, input):
phenny.reply(phenny.doc[name][0])
if phenny.doc[name][1]:
phenny.say('e.g. ' + phenny.doc[name][1])
doc.rule = ('$nick', '(?i)help +([A-Za-z]+)(?:\?+)?$')
doc.example = '$nickname: help tell?'
doc.rule = ('$nick', '(?i)(?:help|doc) +([A-Za-z]+)(?:\?+)?$')
doc.example = '$nickname: doc tell?'
doc.priority = 'low'
def commands(phenny, input):