-
Notifications
You must be signed in to change notification settings - Fork 314
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
[Callback]OnJoinGroup有时候不会触发 #128
Labels
bug
Something isn't working
Comments
整个日志中没有event error,大概过程是这样
callback的设置方式 bot.OnGroupInvited(func(qqClient *client.QQClient, request *client.GroupInvitedRequest) {
log := logger.WithField("group_code", request.GroupCode).
WithField("group_name", request.GroupName).
WithField("invitor_uin", request.InvitorUin).
WithField("invitor_nick", request.InvitorNick)
log.Info("new group invited")
// ...
} bot.OnJoinGroup(func(qqClient *client.QQClient, info *client.GroupInfo) {
log := logger.WithField("group_code", info.Code).
WithField("member_count", info.MemberCount).
WithField("group_name", info.Name)
log.Info("join group")
// ... |
miraigo的log应该没有开 |
不是基于cq的 |
尝试使用OnLog方法设置MiraiGo日志打印以启用debug输出 |
在捞到日志之前close,如果其他人也出现这个问题可以reopen |
这个问题还是时有发生,发一下最近一次的log。 复述一下具体情况: 两个时间点:
日志时间是从16:39:00到16:39:27。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
邀请加群当需要管理员同意时,会触发OnGroupInvited, 有时候管理员同意之后没有触发OnJoinGroup(已经开始接受这个群的消息了),日志里没有关于这个callback的信息。
The text was updated successfully, but these errors were encountered: