Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CQ:image]发送问题 #61

Closed
remiliacn opened this issue Aug 8, 2020 · 3 comments
Closed

[CQ:image]发送问题 #61

remiliacn opened this issue Aug 8, 2020 · 3 comments
Labels
invalid This doesn't seem right

Comments

@remiliacn
Copy link
Contributor

环境信息
go-cqhttp版本: v0.9.10
运行环境: windows_amd64
连接方式: 反向WS

bug内容
使用CQ码[CQ:image]发送图片,发送失败(体现形式为已plain text的方式发布)

复现方法
发送的CQ码:
[CQ:image,file=9270C3EED22819E3CF947CF02913926F.jpg,url=https://c2cpicdw.qpic.cn/offpic_new/634915227//634915227-1623552237-9270C3EED22819E3CF947CF02913926F/0?term=2]

在发送时,图片文件不存在(不在./data/images目录下),但是URL中的图片有效且可以通过复制到浏览器的方法打开显示。

@remiliacn
Copy link
Contributor Author

这个发生情况是因为在CQ还活着的时候,我机器人有个语料记录的功能,有人加了一个语料的回复是回复一张图片,然后机器人就记下来了。今天有人触发了那个语料,文件虽然已经不在了,但是我看了一下URL里面的这张图片还是能打开显示的。

@Mrs4s
Copy link
Owner

Mrs4s commented Aug 8, 2020

请使用[CQ:image,file=https://c2cpicdw.qpic.cn/offpic_new/634915227//634915227-1623552237-9270C3EED22819E3CF947CF02913926F/0?term=2]发送, 或者将原CQ的.cqimg文件复制到 data/images 文件夹

@Mrs4s Mrs4s added help wanted Extra attention is needed invalid This doesn't seem right and removed help wanted Extra attention is needed labels Aug 8, 2020
@Mrs4s
Copy link
Owner

Mrs4s commented Aug 8, 2020

这部分后续版本会优化下

@Mrs4s Mrs4s closed this as completed in 8449770 Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants