mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
🚨 auto fix by pre-commit hooks
This commit is contained in:
parent
0ccbc2c701
commit
b0a1c6db87
@ -153,7 +153,7 @@ async def _(session: Uninfo, arparma: Arparma, nickname: str = UserName()):
|
|||||||
nickname,
|
nickname,
|
||||||
PlatformUtils.get_platform(session),
|
PlatformUtils.get_platform(session),
|
||||||
):
|
):
|
||||||
await MessageUtils.build_message(image.pic2bytes()).finish(reply_to=True) # type: ignore
|
await MessageUtils.build_message(image.pic2bytes()).finish(reply_to=True) # type: ignore
|
||||||
return await MessageUtils.build_message("你的道具为空捏...").send(reply_to=True)
|
return await MessageUtils.build_message("你的道具为空捏...").send(reply_to=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -133,8 +133,8 @@ async def gold_rank(session: Uninfo, group_id: str | None, num: int) -> bytes |
|
|||||||
TextCell(content=uid2name.get(user[0]) or user[0]),
|
TextCell(content=uid2name.get(user[0]) or user[0]),
|
||||||
TextCell(content=str(user[1]), bold=True),
|
TextCell(content=str(user[1]), bold=True),
|
||||||
ImageCell(src=platform_path.resolve().as_uri())
|
ImageCell(src=platform_path.resolve().as_uri())
|
||||||
if (platform_path := PLATFORM_PATH.get(platform))
|
if (platform_path := PLATFORM_PATH.get(platform))
|
||||||
else TextCell(content=""),
|
else TextCell(content=""),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
if group_id:
|
if group_id:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user