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

Adapter: Gewechat #3305

Open
Shine-Light opened this issue Feb 12, 2025 · 5 comments · May be fixed by #3306
Open

Adapter: Gewechat #3305

Shine-Light opened this issue Feb 12, 2025 · 5 comments · May be fixed by #3306
Labels
Adapter Publish Adapter Publish Publish things to store

Comments

@Shine-Light
Copy link
Contributor

适配器名称

Gewechat

适配器描述

Gewechat 微信协议适配器

PyPI 项目名

nonebot-adapter-gewechat

适配器 import 包名

nonebot.adapters.gewechat

适配器项目仓库/主页链接

https://github.com/Shine-Light/nonebot-adapter-gewechat

标签

[{"label":"微信","color":"#79ea52"}]

@Shine-Light Shine-Light added Adapter Publish Adapter Publish Publish things to store labels Feb 12, 2025
@noneflow
Copy link
Contributor

noneflow bot commented Feb 12, 2025

📃 商店发布检查结果

Adapter: Gewechat

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

详情
  • ✅ 项目 主页 返回状态码 200。
  • ✅ 项目 nonebot-adapter-gewechat 已发布至 PyPI。
  • ✅ 标签: 微信-#79ea52。
  • ✅ 版本号: 0.3.1。
  • ✅ 发布时间:2025-02-15 12:40:57 CST。

  • 💡 如需修改信息,请直接修改 issue,机器人会自动更新检查结果。
    💡 当插件加载测试失败时,请发布新版本后勾选插件测试勾选框重新运行插件测试。

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

    💪 Powered by NoneFlow

    noneflow bot pushed a commit that referenced this issue Feb 12, 2025
    @noneflow noneflow bot linked a pull request Feb 12, 2025 that will close this issue
    @yanyongyu
    Copy link
    Member

    适配器依赖不应该添加 nonebot2 的驱动器依赖,请删除。datetime 是标准库,请删除依赖。ujson 版本限制了 patch,请修改为 minor。

    create_task 的返回值需要存储,请参考其他适配器添加 self.tasks 并且在 shutdown 的时候进行清理。

    适配器注册 http 路径不规范,请以 适配器名 为前缀。适配器登录需要 input,请在 startup 内完成,而不是在后台 create task。

    适配器使用了 pydantic v2 的方法,请使用 nonebot.compat 提供的方法。

    log wrapper 里的名字请填写适配器名称,例如 Gewechat。

    @RF-Tar-Railt
    Copy link
    Member

    #2435
    记得阅读一遍适配器规范

    @Shine-Light
    Copy link
    Contributor Author

    适配器依赖不应该添加 nonebot2 的驱动器依赖,请删除。datetime 是标准库,请删除依赖。ujson 版本限制了 patch,请修改为 minor。

    create_task 的返回值需要存储,请参考其他适配器添加 self.tasks 并且在 shutdown 的时候进行清理。

    适配器注册 http 路径不规范,请以 适配器名 为前缀。适配器登录需要 input,请在 startup 内完成,而不是在后台 create task。

    适配器使用了 pydantic v2 的方法,请使用 nonebot.compat 提供的方法。

    log wrapper 里的名字请填写适配器名称,例如 Gewechat。

    感谢review, 已修改

    @Shine-Light
    Copy link
    Contributor Author

    #2435 记得阅读一遍适配器规范

    已遵循大部分规范
    reply字段因官方文档未明确解析属性,暂未实现
    bot常用函数会在后续完善

    noneflow bot pushed a commit that referenced this issue Feb 15, 2025
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Adapter Publish Adapter Publish Publish things to store
    Development

    Successfully merging a pull request may close this issue.

    3 participants