mirror of https://github.com/Mai-with-u/MaiBot.git
Update normal_chat.py
parent
8f7a8e6c22
commit
44266833e2
|
|
@ -201,9 +201,10 @@ class NormalChat:
|
||||||
break
|
break
|
||||||
|
|
||||||
# 获取待处理消息列表
|
# 获取待处理消息列表
|
||||||
items_to_process = list(self.interest_dict.items())
|
if self.interest_dict:
|
||||||
if not items_to_process:
|
items_to_process = list(self.interest_dict.items())
|
||||||
continue
|
if not items_to_process:
|
||||||
|
continue
|
||||||
|
|
||||||
# 处理每条兴趣消息
|
# 处理每条兴趣消息
|
||||||
for msg_id, (message, interest_value, is_mentioned) in items_to_process:
|
for msg_id, (message, interest_value, is_mentioned) in items_to_process:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue