diff --git a/README.md b/README.md index 68c62b5..992bc84 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # musicbot -QQ 群点歌 bot,基于 [qqbotsdk](https://gitea.4i.hk/hhhge/qqbotsdk),两步点歌: +QQ 群点歌 bot,基于 [qqbotsdk](https://github.com/snowy-yang/qqbotsdk),两步点歌: 1. **选歌菜单**——`点歌 <歌名 [歌手]>`(或斜杠指令 `/点歌 <歌名 [歌手]>`)只负责选歌:Markdown 歌单(编号 + 歌名/歌手,默认 QQ 音乐源,搜不到自动聚合兜底),下方每行 5 个编号回调按钮 + `[上一页][下一页]`(每页 `MENU_PAGE_SIZE` 首,默认 10,上限 20) 2. **歌曲卡片**——点编号弹出卡片:专辑封面图 + 歌名/歌手/来源 + `[▶ 播放][⬇ 下载]` 回调按钮,再点才执行 diff --git a/pyproject.toml b/pyproject.toml index ab038d4..b850172 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ module-root = "" # flat 布局:musicbot/ 在仓库根而非 src/ 下 dev = ["pyright", "pytest", "pytest-asyncio", "ruff"] [tool.uv.sources] -qqbotsdk = { git = "https://gitea.4i.hk/hhhge/qqbotsdk.git" } +qqbotsdk = { url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" } [tool.pytest.ini_options] asyncio_mode = "auto" diff --git a/uv.lock b/uv.lock index 7673e9a..127c201 100644 --- a/uv.lock +++ b/uv.lock @@ -487,7 +487,7 @@ dev = [ [package.metadata] requires-dist = [ { name = "loguru" }, - { name = "qqbotsdk", git = "https://gitea.4i.hk/hhhge/qqbotsdk.git" }, + { name = "qqbotsdk", url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" }, ] [package.metadata.requires-dev] @@ -690,7 +690,7 @@ wheels = [ [[package]] name = "qqbotsdk" version = "0.1.0" -source = { git = "https://gitea.4i.hk/hhhge/qqbotsdk.git#b37a53f6e0dec360a3e684fbafd7140ec00a2711" } +source = { url = "https://github.com/snowy-yang/qqbotsdk/archive/refs/heads/main.tar.gz" } dependencies = [ { name = "aiohttp" }, { name = "cryptography" }, @@ -698,6 +698,16 @@ dependencies = [ { name = "python-dotenv" }, { name = "ujson" }, ] +sdist = { hash = "sha256:59960044772157383d1fba3506531e34f89102d17fcad9a14a99873566b6c526" } + +[package.metadata] +requires-dist = [ + { name = "aiohttp", specifier = ">=3.14.3" }, + { name = "cryptography", specifier = ">=50.0.1" }, + { name = "loguru", specifier = ">=0.7.3" }, + { name = "python-dotenv", specifier = ">=1.2.3" }, + { name = "ujson", specifier = ">=6.0.0" }, +] [[package]] name = "ruff"