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: vv_helper #2820

Closed
SwedishDoveCooker opened this issue Jul 18, 2024 · 14 comments · Fixed by #2825
Closed

Plugin: vv_helper #2820

SwedishDoveCooker opened this issue Jul 18, 2024 · 14 comments · Fixed by #2825
Labels
Plugin Publish Plugin

Comments

@SwedishDoveCooker
Copy link
Contributor

SwedishDoveCooker commented Jul 18, 2024

PyPI 项目名

nonebot-plugin-weiweibot

插件 import 包名

nonebot_plugin_weiweibot

标签

[]

插件配置项

No Response

@SwedishDoveCooker SwedishDoveCooker added the Plugin Publish Plugin label Jul 18, 2024
@noneflow
Copy link
Contributor

noneflow bot commented Jul 18, 2024

📃 商店发布检查结果

Plugin: vv_helper

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

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

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

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

    💪 Powered by NoneFlow

    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改

    @KomoriDev
    Copy link
    Contributor

    KomoriDev commented Jul 18, 2024

    1. init.py 44 行
    - username: str = None
    + username: Optional[str] = None
    1. SESSION_EXPIRE_TIMEOUT 配置并未在 config.py 中写出
    2. 不建议使用 from moudle import * ,详见 PEP8

    又及:COMMAND_STARTCOMMAND_SEP 是 NoneBot 基础配置项,不需要在插件中写出

    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改🥹🥹🥹

    @KomoriDev
    Copy link
    Contributor

    KomoriDev commented Jul 18, 2024

    改什么了?

    @SwedishDoveCooker
    Copy link
    Contributor Author

    🤔你说的我应该都改了啊, 你们这里看不到吗

    @lengmianzz
    Copy link
    Contributor

    lengmianzz commented Jul 18, 2024

    🤔你说的我应该都改了啊, 你们这里看不到吗

    请确保修改后的文件上传到github

    注意查看发布检查结果,
    1.你的插件并没有元数据
    请参考NB文档(https://nonebot.dev/docs/developer/plugin-publishing#%E5%A1%AB%E5%86%99%E6%8F%92%E4%BB%B6%E5%85%83%E6%95%B0%E6%8D%AE)
    2.插件载入存在报错, 建议使用pathlib库确保能找到文件

    @SwedishDoveCooker
    Copy link
    Contributor Author

    SwedishDoveCooker commented Jul 18, 2024

    已经修改了还没改全🥺, 感谢指正🥹🥹🥹

    @SwedishDoveCooker SwedishDoveCooker changed the title Plugin: nonebot-plugin-weiweibot Plugin: weiweibot Jul 18, 2024
    @noneflow noneflow bot changed the title Plugin: weiweibot Plugin: nonebot-plugin-weiweibot Jul 18, 2024
    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改

    @noneflow noneflow bot changed the title Plugin: nonebot-plugin-weiweibot Plugin: vv_helper Jul 18, 2024
    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改

    noneflow bot pushed a commit that referenced this issue Jul 18, 2024
    @noneflow noneflow bot mentioned this issue Jul 18, 2024
    noneflow bot pushed a commit that referenced this issue Jul 18, 2024
    noneflow bot pushed a commit that referenced this issue Jul 19, 2024
    @yanyongyu
    Copy link
    Member

    你的机器人响应了基类事件,但用了 onebot 协议进行了回复,这会产生问题,你可以限制响应的事件类型为 onebot 事件,或者使用 alconna uniseg 跨平台插件。另外你的插件 config 内容是 nb 内置的配置,你可以直接从 driver 获取而不需要自己读取。另外你的日志为什么要写入 logfile 而不是用 nb 提供的 logger。

    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改, 之前理解有点小杯🥹🥹🥹

    noneflow bot pushed a commit that referenced this issue Jul 21, 2024
    @yanyongyu
    Copy link
    Member

    你 Bot Message 类导入的依然是基类。不用的 config 记得删除。

    noneflow bot pushed a commit that referenced this issue Jul 21, 2024
    noneflow bot pushed a commit that referenced this issue Jul 21, 2024
    @SwedishDoveCooker
    Copy link
    Contributor Author

    已修改🥹🥹🥹

    noneflow bot pushed a commit that referenced this issue Jul 21, 2024
    noneflow bot pushed a commit that referenced this issue Jul 21, 2024
    @noneflow noneflow bot closed this as completed in #2825 Jul 21, 2024
    noneflow bot pushed a commit that referenced this issue Jul 21, 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