mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-14 21:52:56 +08:00
Merge 4fbb99f20e into e5b2a872d3
This commit is contained in:
commit
479c9e2099
@ -7,7 +7,7 @@ ci:
|
|||||||
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
|
autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks"
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.8.2
|
rev: v0.14.7
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [--fix]
|
args: [--fix]
|
||||||
|
|||||||
@ -50,7 +50,7 @@ async def _prune_stale_tags():
|
|||||||
deleted_count = await tag_manager.prune_stale_group_links()
|
deleted_count = await tag_manager.prune_stale_group_links()
|
||||||
if deleted_count > 0:
|
if deleted_count > 0:
|
||||||
logger.info(
|
logger.info(
|
||||||
f"定时任务:成功清理了 {deleted_count} 个无效的群组标签" f"关联。",
|
f"定时任务:成功清理了 {deleted_count} 个无效的群组标签关联。",
|
||||||
"群组标签管理",
|
"群组标签管理",
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -22,9 +22,9 @@ from .config import (
|
|||||||
lik2relation,
|
lik2relation,
|
||||||
)
|
)
|
||||||
|
|
||||||
assert (
|
assert len(level2attitude) == len(lik2level) == len(lik2relation), (
|
||||||
len(level2attitude) == len(lik2level) == len(lik2relation)
|
"好感度态度、等级、关系长度不匹配!"
|
||||||
), "好感度态度、等级、关系长度不匹配!"
|
)
|
||||||
|
|
||||||
AVA_URL = "http://q1.qlogo.cn/g?b=qq&nk={}&s=160"
|
AVA_URL = "http://q1.qlogo.cn/g?b=qq&nk={}&s=160"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user