diff options
Diffstat (limited to 'example/plugins/show.py')
| -rw-r--r-- | example/plugins/show.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/plugins/show.py b/example/plugins/show.py index b99c18c..289e141 100644 --- a/example/plugins/show.py +++ b/example/plugins/show.py @@ -1,7 +1,6 @@ from iamai import Plugin from numpy.random import Generator -from randomgen import AESCounter -rg = Generator(AESCounter(12345, mode="sequence")) + class Exec(Plugin): @@ -29,7 +28,8 @@ class Exec(Plugin): ] res = await self.event.adapter.send_group_forward_msg(group_id=int(self.event.group_id), messages=content) except Exception as e: - await self.event.reply(f"ERROR!{e!r}") + # await self.event.reply(f"ERROR!{e!r}") + await self.event.reply(f"{eval(self.event.message.get_plain_text()[6:])}") async def rule(self) -> bool: return ( |
