AstrBot icon indicating copy to clipboard operation
AstrBot copied to clipboard

[Bug] aiocqhttp_platform_adapter 文件相关逻辑判断异常

Open Raven95676 opened this issue 1 year ago • 0 comments

发生了什么

Image

这里的切片会报KeyError导致判断没办法进行下去

Image

获取文件失败会导致传入未预期的参数file_id

Image

如何复现?

通过插件获取文件消息

AstrBot 版本与部署方式

Windows master分支 源码

操作系统

Windows

额外信息

见“发生了什么”

你愿意提交 PR 吗?

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

Code of Conduct

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

Raven95676 avatar Feb 23 '25 09:02 Raven95676