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

Plugin: 无情的发图姬 #2922

Closed
Funny1Potato opened this issue Aug 24, 2024 · 19 comments · Fixed by #2923
Closed

Plugin: 无情的发图姬 #2922

Funny1Potato opened this issue Aug 24, 2024 · 19 comments · Fixed by #2923
Labels
Plugin Publish Plugin

Comments

@Funny1Potato
Copy link
Contributor

Funny1Potato commented Aug 24, 2024

PyPI 项目名

nonebot-plugin-sendpic

插件 import 包名

nonebot_plugin_sendpic

标签

[]

插件配置项

No Response

@Funny1Potato Funny1Potato added the Plugin Publish Plugin label Aug 24, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Aug 24, 2024

📃 商店发布检查结果

Plugin: 无情的发图姬

✅ 所有测试通过,一切准备就绪!

详情
  • ✅ 项目 nonebot-plugin-sendpic 已发布至 PyPI。
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 插件类型: application。
  • ✅ 插件支持的适配器: nonebot.adapters.onebot.v11。
  • ✅ 插件 加载测试 通过。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后在当前页面下评论任意内容以触发测试。

    ♻️ 评论已更新至最新检查结果

    💪 Powered by NoneFlow

    @Funny1Potato
    Copy link
    Contributor Author

    已更新

    @Funny1Potato
    Copy link
    Contributor Author

    +1

    @Funny1Potato
    Copy link
    Contributor Author

    唐完了

    @shoucandanghehe
    Copy link
    Contributor

    网络通信请不要使用requests会阻塞机器人
    请使用aiohttp或者httpx

    @Funny1Potato
    Copy link
    Contributor Author

    收到,已修改

    @shoucandanghehe
    Copy link
    Contributor

    收到,已修改

    意思是让你用异步👇 不是换个库用同步(

    from httpx import AsyncClient
    async with AsyncClient() as session:
        response = await session.get(url)

    @Funny1Potato
    Copy link
    Contributor Author

    原来如此,受教了

    @shoucandanghehe
    Copy link
    Contributor

    截至你发的0.0.10版
    插件配置还没有声明在Config类里
    建议阅读 https://nonebot.dev/docs/appendices/config#%E6%8F%92%E4%BB%B6%E9%85%8D%E7%BD%AE

    @shoucandanghehe
    Copy link
    Contributor

    顺便你用require的方法好诡异(
    建议阅读 https://nonebot.dev/docs/advanced/requiring#%E6%8F%92%E4%BB%B6%E4%BE%9D%E8%B5%96%E5%A3%B0%E6%98%8E

    Copy link

    https://github.com/nonebot/plugin-apscheduler?tab=readme-ov-file#%E4%BD%BF%E7%94%A8%E6%96%B9%E5%BC%8F

    @Funny1Potato
    Copy link
    Contributor Author

    非!常!抱!歉!之前自己用的时候没有考虑那么多,改完发上来之前也没好好检查过,给您添麻烦了

    @yanyongyu
    Copy link
    Member

    你的插件名建议换一个方便理解的。插件配置的读取方式不对,参考文档使用 get_plugin_config 。

    @Funny1Potato Funny1Potato changed the title Plugin: nonebot-plugin-sendpic Plugin: nonebot-plugin-Send-API-picture Aug 25, 2024
    @Funny1Potato
    Copy link
    Contributor Author

    好的,已修改

    @yanyongyu
    Copy link
    Member

    让你换插件名是指你插件元数据里的插件名称,不是 pypi 包名。。。pypi 包名搞这么长干啥。。。

    @Funny1Potato
    Copy link
    Contributor Author

    原来是这样嘛,不好意思是我理解错误了,已经改回来了

    @Funny1Potato Funny1Potato changed the title Plugin: nonebot-plugin-Send-API-picture Plugin: nonebot-plugin-sendpic Aug 25, 2024
    @yanyongyu
    Copy link
    Member

    如果改了名字记得发版并在这里重新触发测试。

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-sendpic Plugin: 发图 Aug 25, 2024
    @Funny1Potato
    Copy link
    Contributor Author

    好的

    @Funny1Potato
    Copy link
    Contributor Author

    test v0.1.0

    @noneflow noneflow bot changed the title Plugin: 发图 Plugin: 无情的发图姬 Aug 26, 2024
    @noneflow noneflow bot closed this as completed in #2923 Aug 26, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Plugin Publish Plugin
    Development

    Successfully merging a pull request may close this issue.

    4 participants