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