From b462ac265ec495347655ea4514e063f7e7436343 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 8 Oct 2018 12:47:48 +0100 Subject: [PATCH] eval.py -> eval_python.py, rust_eval.py -> eval_rust.py --- modules/{eval.py => eval_python.py} | 1 + modules/{rust_eval.py => eval_rust.py} | 0 2 files changed, 1 insertion(+) rename modules/{eval.py => eval_python.py} (97%) rename modules/{rust_eval.py => eval_rust.py} (100%) diff --git a/modules/eval.py b/modules/eval_python.py similarity index 97% rename from modules/eval.py rename to modules/eval_python.py index 7e79311b..2342e3e2 100644 --- a/modules/eval.py +++ b/modules/eval_python.py @@ -4,6 +4,7 @@ from src import ModuleManager, utils EVAL_URL = "https://eval.appspot.com/eval" class Module(ModuleManager.BaseModule): + _name = "Python" @utils.hook("received.command.eval", min_args=1) def eval(self, event): """ diff --git a/modules/rust_eval.py b/modules/eval_rust.py similarity index 100% rename from modules/rust_eval.py rename to modules/eval_rust.py