8000 特殊字符需要做转义处理 · Issue #9 · Mrs4s/go-cqhttp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
特殊字符需要做转义处理 #9
Closed
@rmuchan

Description

@rmuchan

特殊字符需要转义,以避免处理时发生混淆。(图为QQ中发送的实际消息和go-cqhttp上报事件的解析结果)
image
image
根据nonebot源码推断,原cqhttp会将&、[、]分别转义为&、[、],并将出现在CQ码参数中的英文逗号转义为,。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0