调整98堂发送的内容,先发文本

This commit is contained in:
liuwei
2025-06-03 15:33:07 +08:00
parent 2383b618e0
commit 169ad7547c

View File

@@ -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}")