-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
无法接收禁言机器人的notice #72
Comments
请开debug模式给出notice的json事件。zb本身并未限制接收这类事件。如果你正在使用zbp,那么可能是这里的逻辑阻止了接收。 https://github.com/FloatTech/zbputils/blob/main/control/engine.go#L35-L41 |
我自己试了一下,直接使用zerobot可以接收到 |
是的。你可以使用zero.OnNotice替代engine。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关代码,别人被禁言可以正常触发,gocqhttp中有机器人被禁言的提示。
使用这种方式产生的结果一致,加上zero.OnlyToMe也一样。
The text was updated successfully, but these errors were encountered: