nonebot / adapter-discord

NoneBot2 Discord 适配器 / Discord adapter for nonebot2
20 stars 6 forks source link

处理文本数据段时错误将 `<` `>` 转义输出 #4

Closed jks15satoshi closed 11 months ago

jks15satoshi commented 11 months ago

示例代码:

matcher = on_command("echo")

@matcher.handle()
async def handle() -> None:
    await matcher.finish("<hello>")

期望输出:<hello> 实际输出:&lt;hello&gt;