!eval -> !python in modules/eval_python.py

This commit is contained in:
jesopo 2018-10-08 12:50:57 +01:00
parent 19ffcacd4d
commit de2a390d92

View file

@ -5,7 +5,7 @@ EVAL_URL = "https://eval.appspot.com/eval"
class Module(ModuleManager.BaseModule):
_name = "Python"
@utils.hook("received.command.eval", min_args=1)
@utils.hook("received.command.python", min_args=1)
def eval(self, event):
"""
:help: Evaluate a python statement