From 546d16c615fd8578ad44a71faee13c2f480261d2 Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 27 Mar 2025 16:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4sht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- robot.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 07e744f..c328d12 100644 --- a/main.py +++ b/main.py @@ -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) diff --git a/robot.py b/robot.py index 395dff1..308cf1c 100644 --- a/robot.py +++ b/robot.py @@ -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)