Comments (8)
ok感谢,我去Overflow那边提一下这个issue
nc也会考虑稍微兼容下
from napcatqq.
也许是overflow或者你的插件问题?
from napcatqq.
给nc的发送的数据就是有问题的
"type":"text","data":{}
from napcatqq.
这个是使用LLOneBot时候的日志,行为就是上图中002用户的内容,复读确实没问题,但是相同的代码切换到NapCat就有undefined..很奇怪
2024-05-29 14:56:18 D/Onebot: Client received <-- {"self_id":xxxxxxxxx,"user_id":xxxxxxxxx,"time":1716965776,"message_id":-2147483466,"real_id":-2147483466,"message_seq":-2147483466,"message_type":"group","sender":{"user_id":xxxxxxxxx,"nickname":"XXXXXX","card":"XXXXXX","role":"owner"},"raw_message":"aaaaaaa","font":14,"sub_type":"normal","message":[{"data":{"text":"aaaaaaa"},"type":"text"}],"message_format":"array","post_type":"message","group_id":xxxxxxxxx}
2024-05-29 14:56:18 D/Onebot: Send to server --> {"action":"get_group_member_list","params":{"group_id":xxxxxxxxx},"echo":4}
2024-05-29 14:56:18 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":xxxxxxxxx,"message":[{"type":"text","data":{"text":"sender: NormalMember(xxxxxxxxx); this msg: [mirai:source:ids=[-2147483466], internalIds=[-2147483466], from group xxxxxxxxx to xxxxxxxxx at 1716965]aaaaaaa"}}],"auto_escape":false},"echo":5}
2024-05-29 14:56:19 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message_id":-2147483465},"message":"","wording":"","echo":5}
2024-05-29 14:56:19 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":xxxxxxxxx,"message":[{"type":"text","data":{}},{"type":"text","data":{"text":"aaaaaaa"}}],"auto_escape":false},"echo":6}
2024-05-29 14:56:20 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message_id":-2147483464},"message":"","wording":"","echo":6}
2024-05-29 14:56:20 D/Onebot: Send to server --> {"action":"send_group_msg","params":{"group_id":xxxxxxxxx,"message":[{"type":"text","data":{"text":"sender: NormalMember(xxxxxxxxx); message: [mirai:source:ids=[-2147483466], internalIds=[-2147483466], from group xxxxxxxxx to xxxxxxxxx at 1716965]aaaaaaa"}}],"auto_escape":false},"echo":7}
2024-05-29 14:56:20 D/Onebot: Client received <-- {"status":"ok","retcode":0,"data":{"message_id":-2147483463},"message":"","wording":"","echo":7}
from napcatqq.
nc这部分代码是重写了的 不规范的很容易出问题
from napcatqq.
给nc的发送的数据就是有问题的
"type":"text","data":{}
这部分多余的{"type":"text","data":{}}
应该去掉
from napcatqq.
ok感谢,我去Overflow那边提一下这个issue
from napcatqq.
overflow已经修复
from napcatqq.
Related Issues (20)
- 临时会话,单向好友等报错,无法读取QQ号等信息 HOT 4
- 可以增加ipv6访问支持吗?
- [Refactor] 针对 9.9.15 重构信息获取 HOT 1
- [功能请求] go-cqhttp API - 获取群文件资源链接 HOT 1
- [BUG] HOT 2
- [BUG] MCSManager面板内无法启动 HOT 1
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 2
- [BUG] 进入 web ui 报错 HOT 5
- [Question] 如何为不同的反向ws服务分别设置不同的token? HOT 1
- [BUG] `message_id`字段与OneBot11标准不符 HOT 4
- [BUG] 合并转发消息报错,一段时间后发送成功 HOT 5
- [BUG] 接收到多层合并消息后,调用`/get_forward_msg`API时报错`Error: 找不到相关的聊天记录Data Not Existed!` HOT 8
- Refactor 26740 重构
- [BUG] 发送语音出现错误 HOT 1
- [BUG] 无法发送图片 HOT 3
- [BUG] 禁言或踢出时报错:成员不存在 HOT 4
- [BUG] time out超时 HOT 4
- [疑问] 群文件API HOT 1
- [BUG] 私聊情况下输入状态会出现pydantic.error_wrappers.ValidationError错误 HOT 1
- [建议]建议对cmd输出美化 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napcatqq.