fix:彻底修复傻逼willing问题

This commit is contained in:
SengokuCola
2025-07-16 18:47:09 +08:00
parent 5f318cbee4
commit e6d7de72b7
3 changed files with 14 additions and 20 deletions

View File

@@ -102,13 +102,11 @@ class BaseWillingManager(ABC):
chat_id=chat.stream_id,
person_id=person_id,
group_info=chat.group_info,
is_mentioned_bot=message.get("is_mentioned_bot", False),
is_mentioned_bot=message.get("is_mentioned", False),
is_emoji=message.get("is_emoji", False),
is_picid=message.get("is_picid", False),
interested_rate=message.get("interest_value", 0),
)
print(f"[{chat.stream_id}] 兴趣值: {message.get('interest_value', 0)}")
print(self.ongoing_messages)
def delete(self, message_id: str):
del_message = self.ongoing_messages.pop(message_id, None)