simple-robot / simpler-robot

Simple Robot,一个bot风格的Kotlin多平台事件调度框架,异步高效、Java友好!/ A Bot-style Kotlin Multiplatform event scheduling framework, asynchronous and high-performance, java-friendly! 🐱😼😻😸
https://simbot.forte.love
GNU Lesser General Public License v3.0
519 stars 44 forks source link

QQ频道-无法发送图片 #703

Closed way-zer closed 1 year ago

way-zer commented 1 year ago

版本号

v3.1.0

附加版本

love.forte.simbot:simbot-core:3.1.0 love.forte.simbot.component:simbot-component-qq-guild-core:3.0.0.0-alpha.8

涉及的编程语言

Kotlin

项目构建工具

其他

涉及的组件库

QQ频道

问题描述

发送图片失败 image

复现方式

ChannelMessageEvent{
            val image = File("/mnt/develop/0.png").toResource().toImage()
            it.replyIfSupport(image)
}

复现用图片: https://p.qpic.cn/qqconadmin/0/b095d8d0ad144de3943f5dcba95a9624/0

相关日志

No response

其他补充

No response

way-zer commented 1 year ago

alpha9发送图片正常,但图文混合仍然有问题 文字部分被异常编码(额外的引号,以及换行符失效) image

message.replyIfSupport(Text { text })
message.replyIfSupport(Text { text } + image)
ForteScarlet commented 1 year ago
ForliyScarlet commented 1 year ago

此issue已经在「等待反馈」状态下5日未应答。如果在「陈旧」状态下逾期2日将会被视为无效过期并关闭。