如何获取发送消息返回的错误码 #1319
Unanswered
HeyYubadboy
asked this question in
Q&A
如何获取发送消息返回的错误码
#1319
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
在发送消息时,如果遇到被禁言、群里限制发送消息次数等,被禁言发送消息会在日志里会出现
Protocol -> sendPacket msg error: 120
我用了反向http来获取信息,http来发送消息
我发现反向http没有关于发送错误的信息,http返回了
{"data":null,"msg":"SEND_MSG_API_ERROR","retcode":100,"status":"failed","wording":"请参考 go-cqhttp 端输出"}
但是也没有错误码
我希望获取那个120,请问怎么办
Beta Was this translation helpful? Give feedback.
All reactions