mirror of https://github.com/Mai-with-u/MaiBot.git
PFC 修复
parent
d97aa6b115
commit
dcdf28c7c1
|
|
@ -39,7 +39,6 @@ class ChatObserver:
|
|||
stream_id: 聊天流ID
|
||||
"""
|
||||
self.last_check_time = None
|
||||
self.last_check_time = None
|
||||
self.last_bot_speak_time = None
|
||||
self.last_user_speak_time = None
|
||||
if stream_id in self._instances:
|
||||
|
|
|
|||
|
|
@ -157,10 +157,10 @@ class ObservationInfo:
|
|||
# #spec (暂时注释掉,如果不需要)
|
||||
# meta_plan_trigger: bool = False
|
||||
|
||||
# --- 修改:移除 __post_init__ 的参数 ---
|
||||
def __init__(self):
|
||||
self.chat_observer = None
|
||||
self.chat_observer = None
|
||||
# 加了会炸,给它注释掉
|
||||
# def __init__(self):
|
||||
# self.chat_observer = None
|
||||
# self.chat_observer = None
|
||||
|
||||
def __post_init__(self):
|
||||
"""初始化后创建handler并进行必要的设置"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue