Add !py as an alias of !python in modules/eval_python.py

This commit is contained in:
jesopo 2018-10-11 13:32:28 +01:00
parent df150635df
commit a9202a6abf

View file

@ -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):
"""