fix(willing):修复cfg变量未被正常引用问题

This commit is contained in:
xiruo
2025-03-18 09:38:22 +08:00
parent d52dbad852
commit dbcfe512a4
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ class WillingManager:
reply_probability = 0
if chat_stream.group_info.group_id in config.talk_frequency_down_groups:
reply_probability = reply_probability / 3.5
reply_probability = reply_probability / config.down_frequency_rate
if is_mentioned_bot and sender_id == "1026294844":
reply_probability = 1