Skip to content

Commit

Permalink
Merge pull request #333 from SK-415/dev
Browse files Browse the repository at this point in the history
Release v1.5.3.post2
  • Loading branch information
SK-415 authored Feb 14, 2023
2 parents d6dff37 + a1476eb commit 9123cee
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 14 deletions.
1 change: 0 additions & 1 deletion haruka_bot/plugins/sub/sub_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from ...utils import get_type_id, on_command, permission_check, to_me

sub_list = on_command("关注列表", aliases={"主播列表"}, rule=to_me(), priority=5)
print(sub_list)
sub_list.__doc__ = """关注列表"""

sub_list.handle()(permission_check)
Expand Down
9 changes: 1 addition & 8 deletions haruka_bot/utils/browser.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,7 @@

from nonebot.log import logger
from playwright.__main__ import main

try:
from playwright.async_api import Browser, async_playwright
except ImportError:
raise ImportError(
"加载失败,请先安装 Visual C++ Redistributable: "
"https://aka.ms/vs/17/release/vc_redist.x64.exe"
)
from playwright.async_api import Browser, async_playwright

from .. import config
from .fonts_provider import fill_font
Expand Down
4 changes: 1 addition & 3 deletions haruka_bot/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from importlib.metadata import version

from packaging.version import Version

__version__ = version("haruka-bot")
__version__ = "1.5.3.post2"
VERSION = Version(__version__)
20 changes: 19 additions & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ dependencies = [
"bilireq~=0.2",
"packaging~=23.0",
"nonebot-plugin-guild-patch~=0.2",
"msvc-runtime~=14.34; sys_platform == \"win32\"",
]
dynamic = ["version"]
name = "haruka-bot"
version = "1.5.3.post1"
description = "Push dynamics and live informations from bilibili to QQ. Based on nonebot2."
readme = "README.md"
keywords = ["nonebot", "nonebot2", "qqbot", "bilibili", "bot"]
Expand All @@ -47,6 +48,10 @@ builtin_plugins = []
[project.scripts]
hb = "haruka_bot.__main__:main"

[tool.pdm.version]
source = "file"
path = "haruka_bot/version.py"

[tool.pdm.build]
# includes = ["haruka_bot/web/build/**/*"]

Expand Down

0 comments on commit 9123cee

Please sign in to comment.