CMHopeSunshine / nonebot-plugin-learning-chat

Nonebot2插件,让Bot学习群友的发言和表情包。/ Nonebot2 plugin to learn what your group members say.
GNU Affero General Public License v3.0
157 stars 5 forks source link

插件会阻断其他插件指令的正常触发 #23

Closed Xiao-yux closed 1 year ago

Xiao-yux commented 1 year ago

image 这个要怎么配置

Xiao-yux commented 1 year ago

感觉是你这个插件的问题

Xiao-yux commented 1 year ago

才加这个插件时其他插件的指令可以正常运行,后面就不行了

CMHopeSunshine commented 1 year ago

不是本插件 https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat/blob/1c9d2ed9895311b1ee1c370d2a6e3d5fc5bb87e3/nonebot_plugin_learning_chat/__init__.py#L37 block=False 看你的debug日志能看得出并没有被阻断,matcher已经往更低priority继续传递了

Xiao-yux commented 1 year ago

嗯,不是所有指令都无法使用。。

cpuopt commented 1 year ago

https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat/blob/master/nonebot_plugin_learning_chat/config.py#L24 应该是这个原因

ElainaFanBoy commented 1 year ago

https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat/blob/master/nonebot_plugin_learning_chat/config.py#L24 应该是这个原因

大佬,把这段删掉就可以了吗

cpuopt commented 1 year ago

https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat/blob/master/nonebot_plugin_learning_chat/config.py#L24 应该是这个原因

大佬,把这段删掉就可以了吗

作者在 https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat/commit/605e8c6db1a0ab69a7697e20a8252e119ec7d9ee 已经修复了这个问题