mirror of https://github.com/Mai-with-u/MaiBot.git
修复神秘bug x2
parent
248eea20bb
commit
b2b43c140f
|
|
@ -352,6 +352,8 @@ class NormalChat:
|
|||
# --- 新增:处理初始高兴趣消息的私有方法 ---
|
||||
async def _process_initial_interest_messages(self):
|
||||
"""处理启动时存在于 interest_dict 中的高兴趣消息。"""
|
||||
if not self.interest_dict:
|
||||
return # 如果 interest_dict 为 None或空,直接返回
|
||||
items_to_process = list(self.interest_dict.items())
|
||||
if not items_to_process:
|
||||
return # 没有初始消息,直接返回
|
||||
|
|
|
|||
Loading…
Reference in New Issue