Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DoroWolf committed Dec 8, 2024
1 parent 0c62356 commit f19c3c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/builtins/message/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def get():


class MessageTaskManager:
"""
消息计划管理器。
"""
_task_list = {}
_callback_list = {}

Expand Down Expand Up @@ -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)):
Expand Down

0 comments on commit f19c3c4

Please sign in to comment.