diff options
| author | 2023-08-09 14:36:37 +0800 | |
|---|---|---|
| committer | 2023-08-09 14:36:37 +0800 | |
| commit | 85ec2f7dc55a672b07272a50f11eb86460f38671 (patch) | |
| tree | 8517989c8cc6444df8ae7ae50802a3b81766b01f /tests/plugins/exc.py | |
| parent | 642a278b1e2cc11fee587b933413a30c057753c1 (diff) | |
| download | HydroRoll-85ec2f7dc55a672b07272a50f11eb86460f38671.tar.gz HydroRoll-85ec2f7dc55a672b07272a50f11eb86460f38671.zip | |
feat:all
Diffstat (limited to 'tests/plugins/exc.py')
| -rw-r--r-- | tests/plugins/exc.py | 18 |
1 files changed, 0 insertions, 18 deletions
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 |
