Open Bearlele opened 2 years ago
wording = 请参考go-cqhttp输出, go-cqhttp日志确定就这些? 你的简单复现代码明显不完整需要手动补充 代码中建议用注释注明反馈内容
代码就是连续两条 await bot.send_private_msg(user_id=123456789, message=Message("内容")) await bot.send_private_msg(user_id=123456789, message=Message("内容")) 第一条正常执行 第二条报错 nonebot.adapters.onebot.v11.exception.ActionFailed: <ActionFailed data=None, echo={'seq': 9}, msg=SEND_MSG_API_ERROR, retcode=100, status=failed, wording=请参考 go-cqhttp 端输出> 但内容正常发送出去 go-cqhttp端没有任何错误信息
自己开http API,用Python requests库快速调用send_private_msg API试下?
请确保您已阅读以上注意事项,并勾选下方的确认框。
go-cqhttp 版本
cfa35b6
运行环境
Linux
运行架构
AMD64
连接方式
WebSocket (反向)
使用协议
1 | Android Phone
重现步骤
这是我在nonebot2那边发的issues:https://github.com/nonebot/nonebot2/issues/1043
一个handle()里使用多个bot.send_private_msg发送私信第一个bot.send_private_msg正常,但第二个bot.send_private_msg会抛出异常: nonebot.adapters.onebot.v11.exception.ActionFailed: <ActionFailed data=None, echo={'seq': 9}, msg=SEND_MSG_API_ERROR, retcode=100, status=failed, wording=请参考 go-cqhttp 端输出>
期望的结果是什么?
正常处理,不抛出异常
实际的结果是什么?
nonebot.adapters.onebot.v11.exception.ActionFailed: <ActionFailed data=None, echo={'seq': 9}, msg=SEND_MSG_API_ERROR, retcode=100, status=failed, wording=请参考 go-cqhttp 端输出>
简单的复现代码/链接(可选)
日志记录(可选)
补充说明(可选)
咨询过nonebot2疑似是昵昵埋的坑?