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