Minor fixes, and important .commands fix, to be private only.

This commit is contained in:
Sean B. Palmer
2008-03-07 21:33:00 +00:00
parent 16ec61f4d6
commit 989ea13d02
5 changed files with 14 additions and 5 deletions

View File

@@ -22,7 +22,7 @@ doc.priority = 'low'
def commands(phenny, input):
# This function only works in private message
if input.startswith('#'): return
if input.sender.startswith('#'): return
names = ', '.join(sorted(phenny.doc.iterkeys()))
phenny.say('Commands I recognise: ' + names + '.')
phenny.say(("For help, do '%s: help example?' where example is the " +