Skip to content
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

是否可以在“群消息发送失败: 账号可能被风控”的时候提供group_id #2455

Closed
HornCopper opened this issue Sep 30, 2023 · 0 comments

Comments

@HornCopper
Copy link

环境信息

go-cqhttp版本:
dev

需要添加的功能内容
如果消息发送失败,
希望日志为:向群(group_id)发送消息失败: 账号可能被风控。

1umine added a commit to 1umine/go-cqhttp that referenced this issue Oct 4, 2023
* 在“群消息发送失败: 账号可能被风控”的时候提供group_id
fumiama pushed a commit that referenced this issue Oct 9, 2023
* try to fix: code -10005 and packet timed out (first login)
* 此问题猜测可能是成功登录前无法向服务器发送sso packet并获取结果。
  在有callback之前似乎没有出现这个问题,怀疑是这里的问题。
  等待 100s 后(以等待完成过滑块)再提交初始化包以尝试解决
* sign submit 内容改为仅在debug模式下打印

* impl #2455
* 在“群消息发送失败: 账号可能被风控”的时候提供group_id

* optimize: sign callback wait until online
* 等待至 bot 在线再发包,而不是简单地等待 100s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant