-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
私聊发送戳一戳(双击头像) #1441
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
环境信息
go-cqhttp版本: v1.0.0-rc1
需要添加的功能内容
文档目前显示,发送戳一戳只适用于群聊,但 go-cqhttp 似乎目前已经可以发送私聊戳一戳,只是功能还需要完善。
私聊中戳一戳除了可以戳对方,也是可以戳自己的;但从我目前使用的 go-cqhttp 版本来看,bot 无法戳自己,只能戳对方。如果试图在跟用户的私聊中戳自己,戳一戳并不会发送到当前会话中,而是会发起一个 bot 自己跟自己的会话,在那里戳自己;同时
notify
-poke
事件也会触发。如果尝试在私聊中戳除自己和对方以外的其他好友,结果也会在 bot 与该好友的私聊会话中发送戳一戳。如图所示(机器人账号视角):因此,需要添加的功能就是让机器人可以在私聊会话中戳自己,且不能戳除自己和对方以外的其他好友。
在群聊中戳任何群成员,以及在私聊中戳对方都正常,如下图所示。在群聊中戳不在群聊中的用户没有反应。
The text was updated successfully, but these errors were encountered: