Skip to content

Bug: 发送消息时, CQ码被错误解析 #212

@jasmineamber

Description

@jasmineamber

描述问题:

使用bot.send, on_command.finish, reject等方法发送带CQ码的消息, CQ码被错误解析

如何复现?

  1. 发送消息: bot.send(event, '[CQ:reply,id=-846150814]头衔过长')

期望的结果
image

环境信息:

  • OS: windows
  • Python Version: 3.8
  • Nonebot Version: 2.0.0a10
  • go-cqhttp Version: v0.9.40

截图
实际结果
image

备注
把这段代码注释之后, 工作正常
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions