🤖 自动格式化代码 [skip ci]

pull/937/head
github-actions[bot] 2025-05-08 14:05:59 +00:00
parent 5a89bf4981
commit 4c4211a05c
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 = getattr(global_config, "max_idle_time", 18000) # 最长冷却时间默认5小时
self.check_interval = getattr(global_config, "idle_check_interval", 10) * 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 # 关系值影响因子