From 169ad7547ce449567a1ab0ac4b7a292f36a6cb28 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 3 Jun 2025 15:33:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B498=E5=A0=82=E5=8F=91=E9=80=81?= =?UTF-8?q?=E7=9A=84=E5=86=85=E5=AE=B9=EF=BC=8C=E5=85=88=E5=8F=91=E6=96=87?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robot.py b/robot.py index dcb5615..1809e09 100644 --- a/robot.py +++ b/robot.py @@ -454,7 +454,6 @@ class Robot: while True: time.sleep(1) - async def send_group_txt_message(self, msg: str, feature: Feature): """向所有启用了特定功能的群发送文本消息""" try: @@ -474,7 +473,8 @@ class Robot: return for r in receivers: if self.gbm.get_group_permission(r, feature) == PermissionStatus.ENABLED: - await self.ipad_bot.send_image_message(r, path) + await self.ipad_bot.send_at_message(r, "98堂 PDF已就绪,请手动发送", ["Jyunere"]) + # await self.ipad_bot.send_image_message(r, path) except Exception as e: self.LOG.error(f"send_group_file_message:{feature.description} error:{e}")