Giter Club home page Giter Club logo

Comments (10)

MliKiowa avatar MliKiowa commented on August 10, 2024

你用win pcqq发的消息吗

from napcatqq.

dokurorz avatar dokurorz commented on August 10, 2024

你用win pcqq发的消息吗

是的,win10 22H2

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

不好做兼容唉

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

试试这个版本 https://github.com/NapNeko/NapCatQQ/actions/runs/9201627433

from napcatqq.

dokurorz avatar dokurorz commented on August 10, 2024

试试这个版本 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.

MliKiowa avatar MliKiowa commented on August 10, 2024

上报的没问题啊

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

raw保持原状

from napcatqq.

dokurorz avatar dokurorz commented on August 10, 2024

啊?刚看了下,上报也还是原本的/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.

MliKiowa avatar MliKiowa commented on August 10, 2024

我搞错了 https://github.com/NapNeko/NapCatQQ/actions/runs/9203831006 试试这个

from napcatqq.

dokurorz avatar dokurorz commented on August 10, 2024

我搞错了 https://github.com/NapNeko/NapCatQQ/actions/runs/9203831006 试试这个

OK了,能正常换行了,感谢😘

from napcatqq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.