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

图片发送没有成功 #169

Closed
RF-Tar-Railt opened this issue Sep 10, 2021 · 2 comments
Closed

图片发送没有成功 #169

RF-Tar-Railt opened this issue Sep 10, 2021 · 2 comments

Comments

@RF-Tar-Railt
Copy link
Member

描述你遇到的问题:

在bot和mcl中都显示已经将图片从本地发送,但是在qq里并未显示有图片发送出来

发生错误的代码

if is_app_close is False and msg in this_dict:
    if 'http' in this_dict[msg]:
        await app.sendGroupMessage(group, MessageChain.create([Image.fromNetworkAddress(this_dict[msg])]))
    else:
        await app.sendGroupMessage(group, MessageChain.create([Plain(this_dict[msg])]))

控制台日志输出截图:

图片

屏幕截图 2021-09-10 142716

屏幕截图 2021-09-10 142627

运行环境:

  • 操作系统: windows10 家庭版
  • mirai-core 版本: 2.6.7
  • mirai-api-http 版本: 1.11.0
  • graia-application-mirai 版本: 0.18.4
  • 是否出现在机器人长期运行后: 否

额外信息:

@Taokyla
Copy link

Taokyla commented Sep 11, 2021

mirai 的问题,链接

@RF-Tar-Railt
Copy link
Member Author

mah更新到1.12.0,mirai-core版本更新到2.7.1-dev版本后可以正常发送图片了
girai换到0.19.2版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants