fix some bugs

This commit is contained in:
Dream-Rainy
2023-03-15 14:37:03 +08:00
parent 1443068c0d
commit 4f88af791a
3 changed files with 36 additions and 14 deletions

View File

@@ -21,6 +21,7 @@ MiraiConsolePlugin 自定义戳一戳回复消息
- `#group.mute:30` 禁言30s, 可以自定义禁言时间, 单位秒
- `#ignore` 忽略
Tips可以在#nudge之后直接添加消息以在回戳时同时回复消息
## 配置文件
文件位置:`config/me.jie65535.mirai-console-jnr-plugin/jnr.yml`
@@ -37,6 +38,21 @@ priority: HIGH
isIntercept: true
# 群回复间隔0表示无限制
groupInterval: 0
# 群共享冷却时间上界分钟0表示无限制
# 请不要和群回复间隔一起打开,避免出现问题
groupCoolDownTimeUpperBound: 0
# 群共享冷却时间下界分钟0表示无限制
# 以下界<=x<=上界为范围产生随机数随机休息时间
groupCoolDownTimeLowerBound: 0
# 冷却触发发送语句
# %s为占位符可不加用来在消息中显示冷却时长
replyMessageForRest: 呜呜,被戳傻了。休息%s分钟
# 群共享冷却默认触发最低次数
groupCoolDownTriggerCountMin: 6
# 群共享冷却默认触发最高次数,到此次数必定触发
groupCoolDownTriggerCountMax: 12
# 达到最低次数后的触发概率,1~100按百分比触发
groupCoolDownTriggerProbability: 50
# 用户私聊回复间隔0表示无限制
userInterval: 0
```