不响应时间,防止被风控

This commit is contained in:
liuwei
2025-05-13 14:30:01 +08:00
parent 9fd8944e26
commit a56726f2ea

View File

@@ -468,7 +468,7 @@ class Robot(Job):
"""使用插件处理消息"""
# 获取所有消息处理插件
# 关闭12:30-05:00的系统交互降低被风控风险
# 关闭00:30-05:00的系统交互降低被风控风险
current_hour = time.localtime().tm_hour
current_minute = time.localtime().tm_min
is_sleep_time = (current_hour == 0 and current_minute >= 30) or (1 <= current_hour < 5)