AstrBot icon indicating copy to clipboard operation
AstrBot copied to clipboard

[Bug] 获取引用消息失败: 'NoneType' object has no attribute 'self_id'

Open Olynx7 opened this issue 1 year ago • 1 comments

发生了什么

无法获取到引用的消息

如何复现?

只要出现引用别人的消息,就会报错

AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

3.5.3.2 docker

操作系统

Linux

报错日志

[09:31:51] [Core] [ERRO] [aiocqhttp.aiocqhttp_platform_adapter:275]: 获取引用消息失败: 'NoneType' object has no attribute 'self_id'。 [09:35:35] [Core] [ERRO] [aiocqhttp.aiocqhttp_platform_adapter:275]: 获取引用消息失败: 'NoneType' object has no attribute 'self_id'。

你愿意提交 PR 吗?

  • [x] 是的,我愿意提交 PR!

Code of Conduct

  • [x] 我已阅读并同意遵守该项目的 行为准则。

Olynx7 avatar Apr 19 '25 09:04 Olynx7

最新版本下应该已经修复这个问题。

Soulter avatar Jul 20 '25 14:07 Soulter