[Admin] Make debugging easier for me

master
Sfan5 2014-02-04 15:16:22 +01:00
parent 028f11ec44
commit d35e8ae9db
1 changed files with 6 additions and 0 deletions

View File

@ -73,5 +73,11 @@ def me(phenny, input):
me.rule = (['me'], r'(#?\S+) (.+)')
me.priority = 'low'
def py(phenny, input):
if input.owner:
phenny.say(repr(eval(input.group(2))))
py.commands = ['py']
py.priority = 'high'
if __name__ == '__main__':
print __doc__.strip()