We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
手动部署
aiocqhttp(使用 OneBot 协议接入的)
linux 大陆
python3.11
使用最新的主分支
发送图片出现报错。发现发送图片处理的函数的arg 是空的。 原因是msg返回的图片时msg.base64,但是没有相关处理类,增加一段代码即可解决该问题 if hasattr(msg, "base64"): arg = msg.base64 msg_list.append(aiocqhttp.MessageSegment.image(f"base64://{arg}"))
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
部署方式
手动部署
消息平台适配器
aiocqhttp(使用 OneBot 协议接入的)
系统环境
linux 大陆
Python环境
python3.11
QChatGPT版本
使用最新的主分支
异常情况
发送图片出现报错。发现发送图片处理的函数的arg 是空的。
原因是msg返回的图片时msg.base64,但是没有相关处理类,增加一段代码即可解决该问题
if hasattr(msg, "base64"):
arg = msg.base64
msg_list.append(aiocqhttp.MessageSegment.image(f"base64://{arg}"))
日志信息
No response
启用的插件
No response
The text was updated successfully, but these errors were encountered: