测试seht
This commit is contained in:
5
robot.py
5
robot.py
@@ -410,6 +410,8 @@ class Robot(Job):
|
||||
self.config.reload()
|
||||
self.gbm.load_local_cache()
|
||||
await self.ipad_bot.send_text_message("filehelper", "已更新")
|
||||
elif content == "PDF":
|
||||
self.generate_sehuatang_pdf()
|
||||
|
||||
if is_group:
|
||||
self.LOG.debug(f"入库和记录群消息: {message}")
|
||||
@@ -472,7 +474,7 @@ class Robot(Job):
|
||||
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_image_message(r, path)
|
||||
except Exception as e:
|
||||
self.LOG.error(f"send_group_file_message:{feature.description} error:{e}")
|
||||
|
||||
@@ -667,6 +669,7 @@ class Robot(Job):
|
||||
self.send_group_file_message(path, Feature.PDF_CAPABILITY)
|
||||
except Exception as e:
|
||||
self.LOG.error(f"generateSehuatangPdf error:{e}")
|
||||
|
||||
def xiu_ren_download_task(self):
|
||||
try:
|
||||
# 每天下载10组图,然后发一个帖子PDF
|
||||
|
||||
Reference in New Issue
Block a user