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: nonebot-plugin-nai3 #2638

Closed
zhulinyv opened this issue Apr 13, 2024 · 9 comments · Fixed by #2639
Closed

Plugin: nonebot-plugin-nai3 #2638

zhulinyv opened this issue Apr 13, 2024 · 9 comments · Fixed by #2639
Labels
Plugin Publish Plugin

Comments

@zhulinyv
Copy link
Contributor

zhulinyv commented Apr 13, 2024

PyPI 项目名

nonebot-plugin-nai3

插件 import 包名

nonebot_plugin_nai3

标签

[{"label":"NovelAI","color":"#35F139"}]

插件配置项

NAI3_TOKEN="xxx"
SMMS_TOKEN="xxx"
@zhulinyv zhulinyv added the Plugin Publish Plugin label Apr 13, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Apr 13, 2024

📃 商店发布检查结果

Plugin: nonebot-plugin-nai3

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

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

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

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

    💪 Powered by NoneFlow

    @yanyongyu
    Copy link
    Member

    你的插件元数据缺少了config,type不正确,应该为application。插件配置的读取采用了过时的方法,应该使用get_plugin_config

    @zhulinyv
    Copy link
    Contributor Author

    已改

    @yanyongyu
    Copy link
    Member

    看上去你的插件并不支持ob v12,你确定你的插件支持么?

    @zhulinyv
    Copy link
    Contributor Author

    元数据中移除了不受支持的适配器.

    脱离 nb 有一段时间了, 写的时候直接 copy 了别人的 metadata, 没注意到这个 💦

    3cfe559ea1dc72a11f3e5bee4139c863

    @yanyongyu
    Copy link
    Member

    插件加载报错了,看上去是因为smms在外层实例化

    @zhulinyv
    Copy link
    Contributor Author

    修改了实例化位置 🧐

    @zhulinyv
    Copy link
    Contributor Author

    添加了必要配置

    @he0119
    Copy link
    Member

    he0119 commented Apr 16, 2024

    NoneFlow 已更新。

    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.

    3 participants