Skip to content

bug: QQ适配器当reply=True时发送消息异常 Object of type MessageReference is not JSON serializable #181

@ssttkkl

Description

@ssttkkl

感觉应该算qq适配器的bug,断点发现reply=True会转换成Reference消息段,这个消息段在发送时会抛异常

如何复现:

msg = "aaaaa"
await MessageFactory(Text(msg)).send(reply=True)

关联issue:nonebot/adapter-qq#146

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions