为 WebSocket Client 添加了按群消息过滤功能 #1842
trytodupe
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
由于一个群里可能会有多个 bot 连接同一个公共 websocket server,会出现多个bot同时被触发的情况,所以我在 NapCat 这一层简单 vibe code 了一个为 onebot websocket client 增加按群过滤消息上报的功能 (link to fork),webui 中效果如图:
点击
编辑可以填写群黑白名单related: #19 #160
edit: 发完 discussion 才发现有 #19 这样更通用的做法
All reactions