Comments (10)
你用win pcqq发的消息吗
from napcatqq.
你用win pcqq发的消息吗
是的,win10 22H2
from napcatqq.
不好做兼容唉
from napcatqq.
试试这个版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9201627433
from napcatqq.
试试这个版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9201627433
试了下,似乎还是不行唉
"textElement": {
"content": "111\r222\r333",
"atType": 0,
"atUid": "0",
"atTinyId": "0",
"atNtUid": "",
"subElementType": 0,
"atChannelId": "0",
"linkInfo": null,
"atRoleId": "0",
"atRoleColor": 0,
"atRoleName": "",
"needNotify": 0
}
解析为
2024-05-23 11:30:55 [INFO] (114514)
333user(114514): 111
from napcatqq.
上报的没问题啊
from napcatqq.
raw保持原状
from napcatqq.
啊?刚看了下,上报也还是原本的/r
,正向ws连接的最新的nonebot和overflow,napcat的日志是这样的
2024-05-23 14:43:34 [DEBUG] (114514)
收到消息: {"self_id":114514,"user_id":114514,"time":1716446614,"message_id":-2147483630,"message_seq":-2147483630,"real_id":-2147483630,"message_type":"group","sender":{"user_id":114514,"nickname":"user","card":"","role":"owner"},"raw_message":"111\r222","font":14,"sub_type":"normal","message":[{"data":{"text":"111\r222"},"type":"text"}],"message_format":"array","post_type":"message","group_id":114514}
2024-05-23 14:43:34 [DEBUG] (114514)
ws 消息上报 {"self_id":114514,"user_id":114514,"time":1716446614,"message_id":-2147483630,"message_seq":-2147483630,"real_id":-2147483630,"message_type":"group","sender":{"user_id":114514,"nickname":"user","card":"","role":"owner"},"raw_message":"111\r222","font":14,"sub_type":"normal","message":[{"data":{"text":"111\r222"},"type":"text"}],"message_format":"array","post_type":"message","group_id":114514}
2024-05-23 14:43:34 [DEBUG] (114514)
ws 消息上报 {"self_id":114514,"user_id":114514,"time":1716446614,"message_id":-2147483630,"message_seq":-2147483630,"real_id":-2147483630,"message_type":"group","sender":{"user_id":114514,"nickname":"user","card":"","role":"owner"},"raw_message":"111\r222","font":14,"sub_type":"normal","message":[{"data":{"text":"111\r222"},"type":"text"}],"message_format":"array","post_type":"message","group_id":114514}
2024-05-23 14:43:34 [INFO] (114514)
222group(114514)] user(114514): 111
nonebot接收内容
[message.group.normal]: Message -2147483630 from 114514@[群:114514] '111\r222'
overflow接收内容
[group(114514)] user(114514) -> 111
from napcatqq.
我搞错了 https://github.com/NapNeko/NapCatQQ/actions/runs/9203831006 试试这个
from napcatqq.
我搞错了 https://github.com/NapNeko/NapCatQQ/actions/runs/9203831006 试试这个
OK了,能正常换行了,感谢😘
from napcatqq.
Related Issues (20)
- [BUG] 发送临时消息超时 HOT 3
- [BUG] API post发送内容如果加上引号会报错 HOT 1
- [BUG] QQ被冻结踢下线后 [API] get_status依然显示online: true HOT 1
- 发送图片出现错误 HOT 1
- [ISSUE]希望给日志占用空间优化 HOT 1
- [BUG] 退群功能 set_group_leave 失效 HOT 6
- [BUG] 复读时会出现undefined HOT 8
- 在1.4.1版本get_msg无法获取消息 HOT 1
- [BUG] 群成员名片变更事件失效 HOT 13
- [OneBot接口]`get_group_member_info`接口返回的`level`字段类型问题 HOT 3
- [Feature] 临时消息上报 sender 字段问题 HOT 2
- [BUG] 反向ws使用set_group_add_request 同意入群申请超时,且 log没有输出异常信息 HOT 2
- [BUG] HOT 2
- [BUG] send_like HOT 3
- [BUG] HOT 4
- [BUG] 收到好友请求消息上报中未找到 加好友请求 的request上报 HOT 3
- [BUG] 发送群聊合并转发API(send_group_forward_msg)无法正确显示转发内容的昵称与id HOT 2
- [BUG] 群员增加事件失效 HOT 5
- [BUG] 1.5.4版私聊超时 HOT 3
- [BUG] 不定时崩溃 HOT 5
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.