diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-04-26 15:54:35 +0100 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-04-26 15:54:35 +0100 |
commit | 986953131d1e399a9b277984a2234cd0c5f7656c (patch) | |
tree | babe5d30a618c40b059421b43a9ca19b9b1beb14 /modules/info.py | |
parent | 286d4a8497621d2f3c0f1f8d66db60b11c87fad5 (diff) | |
download | bot-986953131d1e399a9b277984a2234cd0c5f7656c.tar.gz bot-986953131d1e399a9b277984a2234cd0c5f7656c.tar.bz2 bot-986953131d1e399a9b277984a2234cd0c5f7656c.zip |
Allow the user to configure the port in the config, and other fixes.
Diffstat (limited to 'modules/info.py')
-rwxr-xr-x | modules/info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/info.py b/modules/info.py index a5113ba..c3d13ef 100755 --- a/modules/info.py +++ b/modules/info.py @@ -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): |