Skip to content

Commit

Permalink
Merge pull request #143 from SK-415/dev
Browse files Browse the repository at this point in the history
Publish v1.3.6.post1
  • Loading branch information
SK-415 authored Mar 28, 2022
2 parents 0f11812 + a53a684 commit fc5f560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "AGPL-3.0-or-later"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/haruka_bot/database/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fc5f560

Please sign in to comment.