{"id":21390155,"url":"https://github.com/deltazefiro/nonutils","last_synced_at":"2025-03-16T13:15:37.614Z","repository":{"id":57446665,"uuid":"412294900","full_name":"deltazefiro/nonutils","owner":"deltazefiro","description":"非官方的Nonebot2的便捷工具类模块【早期开发阶段，请勿实际使用!】","archived":false,"fork":false,"pushed_at":"2022-07-27T11:18:41.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-04T02:51:24.007Z","etag":null,"topics":["nonebot-plugin","nonebot2","utility-library"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deltazefiro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-01T02:12:34.000Z","updated_at":"2022-01-01T04:45:16.000Z","dependencies_parsed_at":"2022-09-02T23:40:31.196Z","dependency_job_id":null,"html_url":"https://github.com/deltazefiro/nonutils","commit_stats":null,"previous_names":["233a344a455/nonutils"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltazefiro%2Fnonutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltazefiro%2Fnonutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltazefiro%2Fnonutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltazefiro%2Fnonutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deltazefiro","download_url":"https://codeload.github.com/deltazefiro/nonutils/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243871911,"owners_count":20361380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nonebot-plugin","nonebot2","utility-library"],"created_at":"2024-11-22T13:16:18.040Z","updated_at":"2025-03-16T13:15:37.594Z","avatar_url":"https://github.com/deltazefiro.png","language":"Python","readme":"# Nonutils\n非官方的Nonebot2的便捷工具类模块  \n**早期开发阶段，请勿实际使用!!!**  \n尚无完整的说明文档。  \n\n## 功能简介\n\n本模块的核心功能及为服务(`Service`)系统。  \n\n服务(`Service`) 是一套命令管理工具，功能方面类似于 `Nonebot` 中的 `command_group`，而在管理方面类似于 `(sub)plugin`\n每一个 `Service` 都可以添加多个命令，在会话中通过以下方式激活：\n\n```\n\u003ccommand_start\u003e\u003csv_name|sv_aliases\u003e \u003ccmd|aliases\u003e \u003cargs\u003e\n```\n\n如 `/test_service test_cmd arg1 arg2`，即可触发 `test_service` 的 `test_cmd`\n其中 `sv_name` 与 `cmd` 都可设置相应的 `aliases`\n\n可以通过 `service.on_command` 声明命令，用法同 `nonebot.on_command`  \n\n除基础的命令组的功能外，服务提供以下功能：\n- [x] 自动生成 服务帮助 \u0026 命令帮助，可用 `/help` 命令在会话中查询\n- [x] 提供基于 `pydantic` 的配置持久化服务\n- [x] 格式化会话信息\n- [x] 完全可自定义的内部会话信息\n- [ ] 自动化API管理\n- [ ] 错误处理与追踪\n- [ ] 权限与命令停用的动态化管理\n- [ ] 数据库系统\n\n本项目受 [ATRI的Service系统](https://github.com/Kyomotoi/ATRI/blob/HEAD/ATRI/service.py) 启发  \n**早期开发阶段，请勿实际使用!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltazefiro%2Fnonutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeltazefiro%2Fnonutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltazefiro%2Fnonutils/lists"}