Skip to content

[Bug] aiocqhttp 平台下私聊bot进行引用操作,出现获取引用消息失败的问题 #8476

@NayukiChiba

Description

@NayukiChiba

What happened / 发生了什么

在aiocqhttp平台中跟bot私聊,引用前文的话,但是bot会说引用消息为空,并且napcat报错引用消息失败

Reproduce / 如何复现?

  1. 使用astrbot和napcat平台
  2. 跟bot私聊即可
  3. 然后随便引用一条消息

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

Astrbot:4.25.2
astrbot和napcat双容器部署
消息平台适配器是napcat
提供商是dsv4

OS

Linux

Logs / 报错日志

[2026-06-01 09:58:42.750] [Core]
[ERRO]
[v4.25.2] [aiocqhttp.aiocqhttp_platform_adapter:337]: 获取引用消息失败: <ActionFailed status='failed', retcode=100, data=None, wording='message not found', echo={'seq': 581}>。
[2026-06-01 09:58:42.751] [Core]
[INFO]
[core.event_bus:61]: [default] [qq(aiocqhttp)][引用消息] 你这个引用说了什么 

在这里,我引用了消息,但是引用消息失败,bot看到的消息就是空的

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.bugSomething isn't working

    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