Let @botcmd override command name.
commit0d3efeb32e33749012547a823afb8070f9b49195
authorJustin Forest <justin.forest@gmail.com>
Wed, 2 Jun 2010 17:37:48 +0000 (2 21:37 +0400)
committerThomas Perl <thp@thpinfo.com>
Fri, 4 Jun 2010 17:01:02 +0000 (4 19:01 +0200)
treed9d4e1aa58bbd5f093b3ba61a2b0e7052dba2c6c
parent2128404b793061d7b4fb8751d8c74db81b598d2e
Let @botcmd override command name.

This makes commands named after Python keywords available again.
Example usage:

@botcmd(name='for')
def for_(self, *args):
pass
jabberbot.py