恢复mxp模式的可运行性,但保持参数

This commit is contained in:
UnCLAS-Prommer
2025-07-18 23:35:17 +08:00
parent 063382862a
commit 7895cac8c2
2 changed files with 43 additions and 40 deletions

View File

@@ -21,6 +21,7 @@ class ClassicalWillingManager(BaseWillingManager):
self._decay_task = asyncio.create_task(self._decay_reply_willing())
async def get_reply_probability(self, message_id):
# sourcery skip: inline-immediately-returned-variable
willing_info = self.ongoing_messages[message_id]
chat_id = willing_info.chat_id
current_willing = self.chat_reply_willing.get(chat_id, 0)