From f19c3c4d20d3e866420858906509f81a32269302 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9A=E7=BE=85=E7=8B=BC?= Date: Sun, 8 Dec 2024 14:47:20 +0800 Subject: [PATCH] update --- core/builtins/message/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/builtins/message/__init__.py b/core/builtins/message/__init__.py index b7c2fee627..290128882e 100644 --- a/core/builtins/message/__init__.py +++ b/core/builtins/message/__init__.py @@ -45,6 +45,9 @@ def get(): class MessageTaskManager: + """ + 消息计划管理器。 + """ _task_list = {} _callback_list = {} @@ -133,6 +136,9 @@ async def check(cls, session: MessageSession): class FinishedSession: + """ + 结束会话。 + """ def __init__(self, session, message_id: Union[List[int], List[str], int, str], result): self.session = session if isinstance(message_id, (int, str)):