diff options
| author | 2018-10-11 13:32:28 +0100 | |
|---|---|---|
| committer | 2018-10-11 13:32:28 +0100 | |
| commit | a9202a6abf813097011e61aacd31709e9cd94189 (patch) | |
| tree | 2b5c82d48f4bca9e95a2d2aa08163e44f7c0cb0c | |
| parent | Correct the way !givepermission checks if a user is identified (diff) | |
| signature | ||
Add !py as an alias of !python in modules/eval_python.py
| -rw-r--r-- | modules/eval_python.py | 1 |
1 files changed, 1 insertions, 0 deletions
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): """ |
