Open Sevenyine opened 1 year ago
我想到可能是后面的参数问题,但是如果只是.nbnhhsh这个命令也无法正常阻断:
11-26 14:50:11 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message 682499795 from@[群:] '.nbnhhsh'
11-26 14:50:11 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:50:11 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:50:11 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:50:12 [SUCCESS] nonebot | OneBot V11 | [message.group.normal]: Message 1604922949 from@[群:] '.nbnhhsh'
11-26 14:50:12 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56)
11-26 14:50:12 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.word_analyze, lineno=56) running complete
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12)
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:50:13 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:50:13 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_hammer_nbnhhsh.handler, lineno=12) running complete
11-26 14:50:15 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18)
11-26 14:50:15 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16)
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.auto_ban, lineno=18) running is cancelled
11-26 14:50:15 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_admin.img_check, lineno=16) running is cancelled
这是因为阻断前会先判断发送者权限,当您并非普通成员时将不会触发冷却😹
开始测试 两次间隔时间小于10s但无法触发冷却(同一个人)
似乎是根本没有触发matcher_block这个插件?但是之前的设置冷却都成功了