Skip to content

[Bug]: 无法获得图片的二进制数据 #25

Description

@X-Zero-L

确认项

  • 问题的标题明确
  • 我翻阅过其他的 issue 并且找不到类似的问题
  • 我已经阅读了相关文档 并仍然认为这是一个 Bug
  • 我已经尝试过在最新的代码中修复这个问题

操作系统

Linux

Python 版本

3.11.2

NoneBot 版本

^2.1.1

适配器

^0.6.0

协议端

0.0.52

描述问题

无法获得图片的二进制数据

复现步骤

  1. 检测类型为image的消息段
  2. 使用bot.fetch获取二进制数据
  3. 没有得到返回

期望的结果

获取图片的二进制数据

截图或日志

image
image
image

Nonebot 配置项

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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