Merge branch 'PFC-test' of https://github.com/Dax233/MaiMBot into PFC-test

pull/937/head
Bakadax 2025-05-08 22:08:50 +08:00
commit e15cbf8d04
2 changed files with 3 additions and 5 deletions

View File

@ -7,6 +7,4 @@ PFC_idle 包 - 用于空闲时主动聊天的功能模块
from .idle_chat import IdleChat
__all__ = [
'IdleChat'
]
__all__ = ["IdleChat"]

View File

@ -148,8 +148,8 @@ class IdleChat:
self.max_cooldown = global_config.max_idle_time # 最长冷却时间默认5小时
self.check_interval = global_config.idle_check_interval * 60 # 检查间隔默认10分钟转换为秒
self.active_hours_start = 7 # 活动开始时间
self.active_hours_end = 23 # 活动结束时间
self.active_hours_end = 23 # 活动结束时间
# 关系值相关
self.base_trigger_probability = 0.3 # 基础触发概率
self.relationship_factor = 0.0003 # 关系值影响因子