mirror of https://github.com/Mai-with-u/MaiBot.git
typo
parent
55691a1611
commit
7cffada3a8
|
|
@ -355,7 +355,7 @@ class NormalChat:
|
||||||
async def _process_initial_interest_messages(self):
|
async def _process_initial_interest_messages(self):
|
||||||
"""处理启动时存在于 interest_dict 中的高兴趣消息。"""
|
"""处理启动时存在于 interest_dict 中的高兴趣消息。"""
|
||||||
if not self.interest_dict:
|
if not self.interest_dict:
|
||||||
return # 当 self.interset_dict 的值为 None 时,直接返回,防止进入 Chat 状态错误
|
return # 当 self.interest_dict 的值为 None 时,直接返回,防止进入 Chat 状态错误
|
||||||
items_to_process = list(self.interest_dict.items())
|
items_to_process = list(self.interest_dict.items())
|
||||||
if not items_to_process:
|
if not items_to_process:
|
||||||
return # 没有初始消息,直接返回
|
return # 没有初始消息,直接返回
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue