添加好友请求限频功能

This commit is contained in:
heavyrian2012
2024-09-12 21:34:12 +08:00
parent fc35865478
commit a45de0ecd1
6 changed files with 26 additions and 3 deletions
@@ -175,6 +175,9 @@ friend.reject_request_duration 2592000000
##好友请求过期时间,单位是毫秒,默认是7天,0为无限长期限。
friend.request_expiration_duration 604800000
##好友请求限制频率,一个用户24小时之内允许请求好友的次数,默认不限频。
#friend.request_rate_limit 30
##请求添加机器人为好友时,机器人是否自动接受,默认为true
friend.robot_auto_accept true