-
Notifications
You must be signed in to change notification settings - Fork 38
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
部分用户发送ForwardMessage失败 #146
Comments
只有一部分账号会出现类似的问题,而且非合并消息发送功能正常 |
这个问题到现在还存续不?我感觉是mirai那边没有正确缓存群号搞出来的问题 |
应该不是的,给定QQ号与群号不存在是因为程序里bug反馈的群号给的是空号,主要是上面的调用http-api失败(纯小白,这是我的bot的问题,大佬代发的issue) |
群号不存在的问题,是插件本身的另外一个问题导致的,和这个issuse反馈的问题无关,我修改一下issuse |
主要是我这边看不到mirai那边返回了什么消息,我先再检查一下是不是插件本身的问题吧 |
j.RootElement = ValueKind = Object : "{"code":400,"msg":"无效参数"}"
|
只要发ForwardMessage就会出现问题 List<IForwardMessageNode> nodeList = new();
nodeList.Add(new ForwardMessageNode("test", qqNumber, DateTime.Now, new IChatMessage[] {new PlainMessage("testmsg") }));
await session.SendGroupMessageAsync(qqGroup, new ForwardMessage(nodeList.ToArray())); |
猜测可能由于序列化 |
更新: 修改了 |
谢谢,辛苦佬了 |
mirai-http-api v2.9.1貌似修复了这个错误了 |
确实是mirai的问题,更新到mirai-http-api v2.9.1就没有出现错误了 |
我猜测是这里 |
好的 |
Mirai-CSharp:
2.1.9
Mirai-CSharp.HttpApi:
2.1.9
MCL:
2.14.0
mirai-api-http:
2.8.0
mirai-console:
2.14.0
JDK:17
Theresa3rd-Bot:v0.8.0
The text was updated successfully, but these errors were encountered: