调整sht

This commit is contained in:
liuwei
2025-03-27 16:34:00 +08:00
parent 9f564f5b75
commit 546d16c615
2 changed files with 2 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ def main(chat_type: int):
robot.onEveryTime("09:30", robot.generate_and_send_ranking)
# sehuatang
robot.onEveryTime("16:30", robot.generate_sehuatang_pdf)
robot.onEveryTime("16:35", robot.generate_sehuatang_pdf)
# 游戏的定时任务每小时执行
robot.onEveryTime("17:58", robot.game_auto_tasks)

View File

@@ -518,6 +518,7 @@ class Robot(Job):
def generate_sehuatang_pdf(self):
try:
self.LOG.info("开始生成PDF,generate_sehuatang_pdf")
path = pdf_file_path()
# 暂时只发4K群
self.send_group_file_message(path, Feature.PDF_CAPABILITY)