From a9202a6abf813097011e61aacd31709e9cd94189 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 11 Oct 2018 13:32:28 +0100 Subject: [PATCH] Add !py as an alias of !python in modules/eval_python.py --- modules/eval_python.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/eval_python.py b/modules/eval_python.py index 95d1b5ee..281cba97 100644 --- a/modules/eval_python.py +++ b/modules/eval_python.py @@ -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): """