From c30eb070428d670ed5bdacb77b95c3b23917ef21 Mon Sep 17 00:00:00 2001 From: liuwei Date: Tue, 20 May 2025 18:00:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8A@=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/game_task/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/game_task/main.py b/plugins/game_task/main.py index 484cb4e..5dfb734 100644 --- a/plugins/game_task/main.py +++ b/plugins/game_task/main.py @@ -542,14 +542,14 @@ class GameTaskPlugin(MessagePluginInterface): ) if active_task_id: - await self.bot.send_text_message( + await self.bot.send_at_message( group, f"🎁 新任务来袭,够不够刺激?\n" f"🎀 任务ID: {active_task_id}\n" f"🌟 幸运鹅:{holder_name}\n" f"🎈 问题:[{category}]{question}\n" f"🌼 积分:{score}\n" - f"🌈 抢答格式:/a {active_task_id} 答案" - ) + f"🌈 抢答格式:/a {active_task_id} 答案", + [holder_id]) except Exception as e: self.LOG.error(f"定时任务出错: {e}")