diff --git a/src/plugins/person_info/person_info.py b/src/plugins/person_info/person_info.py index b4e95155f..59306884a 100644 --- a/src/plugins/person_info/person_info.py +++ b/src/plugins/person_info/person_info.py @@ -354,7 +354,7 @@ class PersonInfoManager: """启动个人信息推断,每天根据一定条件推断一次""" try: while 1: - await asyncio.sleep(60) + await asyncio.sleep(600) current_time = datetime.datetime.now() logger.info(f"个人信息推断启动: {current_time.strftime('%Y-%m-%d %H:%M:%S')}") diff --git a/src/plugins/willing/mode_mxp.py b/src/plugins/willing/mode_mxp.py index 8ed3b60e4..06f4fd6d2 100644 --- a/src/plugins/willing/mode_mxp.py +++ b/src/plugins/willing/mode_mxp.py @@ -144,7 +144,7 @@ class MxpWillingManager(BaseWillingManager): ): current_willing += self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] + 1) if self.is_debug: - self.logger.debug(f"单聊增益:{self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] - 1)}") + self.logger.debug(f"单聊增益:{self.single_chat_gain * (2 * self.last_response_person[w_info.chat_id][1] + 1)}") current_willing += self.chat_fatigue_willing_attenuation.get(w_info.chat_id, 0) if self.is_debug: