-
Notifications
You must be signed in to change notification settings - Fork 31
MessageChain::deserializationFromMiraiCode 中缺失 "]" #101
Comments
是实际上有出现问题吗? |
我确实是遇到了问题。
|
ok,晚点尝试复现和修复 |
刚刚看了下qs (一直到这几天才有时间看) |
在下一个版本 2.8.0 会包含修复
|
Describe the bug 出现的异常(实际行为和预期行为)
目前代码第257行
https://github.com/Nambers/MiraiCP/blob/main/cpp/include/miraiCP.cpp#L257
mc.add(UnSupportMessage("[mirai:" + tmp));
=>
mc.add(UnSupportMessage("[mirai:" + tmp + "]"));
不然类似mirai:face等上文未处理的miraicode转化成singlemessage时会缺少“]”
(话说type里不加个face嘛)
| loader | v2.8.0-M2 |
The text was updated successfully, but these errors were encountered: