From 312e203bbe00e878a774019a6c0c0ab3db87512a Mon Sep 17 00:00:00 2001 From: passthem Date: Sun, 26 Oct 2025 04:07:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E8=AE=B0=E6=8A=8A=E8=BF=99=E4=B8=AA?= =?UTF-8?q?=E7=AD=94=E9=A2=98=E6=83=85=E5=86=B5=E9=80=9A=E7=9F=A5=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- konabot/plugins/kona_ph/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/konabot/plugins/kona_ph/__init__.py b/konabot/plugins/kona_ph/__init__.py index 7e10507..f0e9f78 100644 --- a/konabot/plugins/kona_ph/__init__.py +++ b/konabot/plugins/kona_ph/__init__.py @@ -92,6 +92,10 @@ async def _(target: DepLongTaskTarget, index_id: str = "", page: int = 1): @scheduler.scheduled_job("cron", hour="8") async def _(): async with puzzle_manager() as manager: + msg2 = manager.get_report_yesterday() + if msg2 is not None: + await qq_broadcast(config.plugin_puzzle_playgroup, msg2) + puzzle = manager.get_today_puzzle() if puzzle is not None: logger.info(f"找到了题目 {puzzle.raw_id},发送") @@ -99,3 +103,4 @@ async def _(): else: logger.info("自动任务:没有找到题目,跳过") +