Skip to content

Commit 611ed3a

Browse files
committed
:bug 修改好感度为30上限
1 parent 90f15ff commit 611ed3a

File tree

4 files changed

+35
-26
lines changed

4 files changed

+35
-26
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ _✨ 自动 b 站粉丝牌 ✨_
2929

3030
## 最新说明~~叔叔不要麻辣~~
3131

32-
- <font color=#ff0000>2025.6.2 本次更新配置文件有变更,需要手动同步最新配置</font>
33-
- 已修复二维码获取 sk 失败的问题
32+
- <font color=#ff0000>2025.11.19 本次更新配置文件有变更,需要手动同步最新配置</font>
33+
- 由于b站修改规则,导致一天只能刷30好感度
3434
- alconna 支持替换 saa 支持
3535

3636
## 配置说明

nonebot_plugin_bilifan/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434

3535
driver = get_driver()
36-
__version__ = "0.4.4"
36+
__version__ = "0.5.0"
3737
__plugin_meta__ = PluginMetadata(
3838
name="bilifan",
3939
description="b站粉丝牌~",

nonebot_plugin_bilifan/login/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ async def draw_QR(login_url: str): # noqa: N802, RUF029
148148
qr.make(fit=True)
149149
img = qr.make_image(fill_color="black", back_color="white")
150150
buffered = BytesIO()
151-
img.save(buffered, format="PNG")
151+
img.save(buffered, format="PNG") # pyright: ignore[reportCallIssue]
152152
return buffered.getvalue()
153153
# img.save("qrcode.png")
154154

pyproject.toml

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
[tool.poetry]
1+
[project]
22
name = "nonebot_plugin_bilifan"
3-
version = "0.4.4"
3+
dynamic = ["version"]
44
description = "刷站粉丝牌子的机器人插件"
5-
authors = ["Agnes_Digital <[email protected]>"]
6-
license = "GPLv3"
5+
authors = [{ name = "Agnes_Digital", email = "[email protected]"}]
6+
requires-python = ">=3.9,<4.0"
7+
dependencies = [
8+
"nonebot-adapter-onebot>=2.2.5",
9+
"nonebot2>=2.1.0",
10+
"nonebot_plugin_apscheduler>=0.3.0",
11+
"nonebot_plugin_alconna>=0.50.0",
12+
"pillow>=10.0.0",
13+
"aiohttp-socks>=0.8.0",
14+
"pyyaml>=6.0",
15+
"qrcode>=7.4.2",
16+
"anyio>=4.6.2"
17+
]
718
readme = "README.md"
8-
homepage = "https://github.com/Agnes4m/nonebot_plugin_bilifan"
19+
license = { text = "GPLv3" }
920
repository = "https://github.com/Agnes4m/nonebot_plugin_bilifan"
1021
keywords = ["bilibili", "nonebot2", "plugin"]
1122
classifiers = [
@@ -22,22 +33,8 @@ include = [
2233
"LICENSE","README.md"
2334
]
2435

25-
[tool.poetry.dependencies]
26-
python = "^3.9"
27-
nonebot2 = "^2.1.0"
28-
nonebot-adapter-onebot = ">=2.2.5"
29-
nonebot_plugin_apscheduler = ">=0.3.0"
30-
nonebot_plugin_alconna = ">=0.50.0"
31-
pillow = ">=10.0.0"
32-
aiohttp-socks = "^0.8.0"
33-
pyyaml = "^6.0"
34-
qrcode = "^7.4.2"
35-
anyio = ">=4.6.2"
36-
37-
[build-system]
38-
requires = ["poetry-core>=1.0.0"]
39-
build-backend = "poetry.core.masonry.api"
40-
36+
[project.urls]
37+
homepage = "https://github.com/Agnes4m/nonebot_plugin_bilifan"
4138

4239
[tool.black]
4340
line-length = 89
@@ -53,4 +50,16 @@ line-ending = "lf"
5350
combine-as-imports = true
5451
detect-same-package = true
5552
extra-standard-library = ["typing_extensions"]
56-
split-on-trailing-comma = true
53+
split-on-trailing-comma = true
54+
55+
[project.entry-points.nb]
56+
bootstrap = "nonebot_plugin_bilifan.plugin:install"
57+
58+
59+
60+
[build-system]
61+
requires = ["hatchling"]
62+
build-backend = "hatchling.build"
63+
64+
[tool.hatch.version]
65+
path = "nonebot_plugin_bilifan/__init__.py"

0 commit comments

Comments
 (0)