diff options
Diffstat (limited to 'example/plugins/show.py')
| -rw-r--r-- | example/plugins/show.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/plugins/show.py b/example/plugins/show.py index a9cf446..21c6722 100644 --- a/example/plugins/show.py +++ b/example/plugins/show.py @@ -34,7 +34,7 @@ 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"{eval(self.event.message.get_plain_text()[6:])}") + await self.bot.get_adapter('onebot11').send_guild_channel_msg(f"{eval(self.event.message.get_plain_text()[6:])}") async def rule(self) -> bool: return ( |
