From 85ec2f7dc55a672b07272a50f11eb86460f38671 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 9 Aug 2023 14:36:37 +0800 Subject: feat:all MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/plugins/exc.py | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 tests/plugins/exc.py (limited to 'tests/plugins/exc.py') diff --git a/tests/plugins/exc.py b/tests/plugins/exc.py deleted file mode 100644 index 4d6b885..0000000 --- a/tests/plugins/exc.py +++ /dev/null @@ -1,18 +0,0 @@ -from iamai import Plugin -import os -class Exec(Plugin): - async def handle(self) -> None: - from hydroroll.config import ConfigManager, GlobalConfig - tmpConf = ConfigManager(os.path.join(GlobalConfig._current_path, "config", "userConf.dat")) - tmpConf.load() - await self.event.reply(str(tmpConf.properties)) - - - async def rule(self) -> bool: - if self.event.adapter.name != "cqhttp": - return False - if self.event.type != "message": - return False - return self.event.message.startswith("t") - -print(1) \ No newline at end of file -- cgit v1.2.3-70-g09d2