From 68c9b314a9faa4297fa6f686ef5e8b92d1db9d9b Mon Sep 17 00:00:00 2001 From: liuwei Date: Thu, 20 Mar 2025 15:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E8=A3=85=E9=A5=B0=E5=99=A8?= =?UTF-8?q?=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/robot.py b/robot.py index 6edfaef..d995093 100644 --- a/robot.py +++ b/robot.py @@ -23,7 +23,6 @@ from base.func_claude import Claude from configuration import Config from constants import ChatType from game_task.game_task_encyclopedia import game_process_message, get_group_ids, run_random_task_assignment -from job_decorators import scheduled_job from message_storage.message_to_db import MessageStorage from plugin_common.event_system import EventType, EventSystem from plugin_common.message_plugin_interface import MessagePluginInterface @@ -543,10 +542,3 @@ class Robot(Job): self.wcf.send_file(pub_path, "45317011307@chatroom") except Exception as e: self.LOG.error(f"xiu_ren_pdf_send error:{e}") - - @scheduled_job("*/1 * * * *", name="test_job") - def send_message(self): - try: - self.wcf.send_text("定时任务执行!", "filehelper") - except Exception as e: - self.LOG.error(f"send_message error:{e}") \ No newline at end of file