mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 12:41:05 +08:00
更新bmcl.py插件,显示名称前添加了一个标志符号,赞助者字段名称更改
This commit is contained in:
parent
ed9ec33ed9
commit
152c8215c3
|
@ -117,10 +117,10 @@ def bmcl_rank(msg: NewMessage, client: IcaClient, name: Optional[str]) -> None:
|
||||||
else:
|
else:
|
||||||
show_ranks = ranks[:limit]
|
show_ranks = ranks[:limit]
|
||||||
rank_msg = (
|
rank_msg = (
|
||||||
f"名称: {r['name']}\n"
|
f"{'✅' if r['start'] else '❌'}名称: {r['name']}\n"
|
||||||
# f"-{rank['full']} \n"
|
# f"-{rank['full']} \n"
|
||||||
# f"版本: {r['version']}\n"
|
# f"版本: {r['version']}\n"
|
||||||
f"拥有者: {r['owner']} 状态: {r['start']}|"
|
f"赞助者: {r['owner']}|"
|
||||||
f"h/d {format_hit_count(r['rank']['hits'])}|{format_data_size(r['rank']['bytes'])}"
|
f"h/d {format_hit_count(r['rank']['hits'])}|{format_data_size(r['rank']['bytes'])}"
|
||||||
for r in show_ranks
|
for r in show_ranks
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user