Add !py as an alias of !python in modules/eval_python.py
This commit is contained in:
parent
df150635df
commit
a9202a6abf
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ EVAL_URL = "https://eval.appspot.com/eval"
|
|||
|
||||
class Module(ModuleManager.BaseModule):
|
||||
_name = "Python"
|
||||
@utils.hook("received.command.py", alias_of="python")
|
||||
@utils.hook("received.command.python", min_args=1)
|
||||
def eval(self, event):
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue