Update willing_manager.py

防止概率大于100%
This commit is contained in:
瑾星Mcc
2025-03-04 21:53:33 +08:00
committed by GitHub
parent caa8c491cf
commit 20a408ee7a

View File

@@ -61,6 +61,7 @@ class WillingManager:
# if is_mentioned_bot and user_id == int(1026294844):
# reply_probability = 1
reply_probability = min(reply_probability, 1)
return reply_probability
def change_reply_willing_sent(self, group_id: int):