From 23de5e1ba3ea21838d63c86fc51c82c5b510b3fa Mon Sep 17 00:00:00 2001 From: SK-415 <2967923486@qq.com> Date: Mon, 28 Mar 2022 18:35:04 +0800 Subject: [PATCH 1/2] fix subscribe fail --- src/plugins/haruka_bot/database/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/haruka_bot/database/db.py b/src/plugins/haruka_bot/database/db.py index 5fd77eef..233e82a3 100644 --- a/src/plugins/haruka_bot/database/db.py +++ b/src/plugins/haruka_bot/database/db.py @@ -125,7 +125,7 @@ async def add_sub(cls, *, name, **kwargs) -> bool: return False await cls.add_user(uid=kwargs["uid"], name=name) if kwargs["type"] == "group": - await cls.add_group(id=kwargs["type_id"]) + await cls.add_group(id=kwargs["type_id"], admin=True) await cls.update_uid_list() return True From a53a684e25b0adf3e4fb35f94dc7e6636db2d0b8 Mon Sep 17 00:00:00 2001 From: SK-415 <2967923486@qq.com> Date: Mon, 28 Mar 2022 18:36:54 +0800 Subject: [PATCH 2/2] Publish v1.3.6.post1 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f623ba43..a647dc77 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "haruka-bot" -version = "1.3.6" +version = "1.3.6.post1" description = "Push dynamics and live informations from bilibili to QQ. Based on nonebot2." authors = ["SK-415 <2967923486@qq.com>"] license = "AGPL-3.0-or-later"