Giter Club home page Giter Club logo

Comments (8)

MliKiowa avatar MliKiowa commented on August 10, 2024 2

ok感谢,我去Overflow那边提一下这个issue

nc也会考虑稍微兼容下

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

也许是overflow或者你的插件问题?

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

给nc的发送的数据就是有问题的

"type":"text","data":{}

from napcatqq.

MR-MonkeyRay avatar MR-MonkeyRay commented on August 10, 2024

这个是使用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.

MliKiowa avatar MliKiowa commented on August 10, 2024

nc这部分代码是重写了的 不规范的很容易出问题

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

给nc的发送的数据就是有问题的

"type":"text","data":{}

这部分多余的{"type":"text","data":{}}应该去掉

from napcatqq.

MR-MonkeyRay avatar MR-MonkeyRay commented on August 10, 2024

ok感谢,我去Overflow那边提一下这个issue

from napcatqq.

MliKiowa avatar MliKiowa commented on August 10, 2024

overflow已经修复

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.