mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
✨ 增加深渊统计
指令
This commit is contained in:
parent
757503b89f
commit
eb2e7a4d3f
@ -75,6 +75,6 @@ async def get_statistics(group_id: int):
|
|||||||
f'12层出场率最高角色:\n 上半:{" ".join(up_sort12)}\n 下半:{" ".join(down_sort12)}\n' \
|
f'12层出场率最高角色:\n 上半:{" ".join(up_sort12)}\n 下半:{" ".join(down_sort12)}\n' \
|
||||||
f'Created by LittlePaimon'
|
f'Created by LittlePaimon'
|
||||||
|
|
||||||
img = PMImage(size=(500, 33 * 13), color=(255, 255, 255, 255))
|
img = PMImage(size=(500, 33 * 15), color=(255, 255, 255, 255))
|
||||||
await img.text_box(text.replace('\n', '^'), (5, 495), (5, 33 * 13 - 5), fm.get('hywh', 25), 'black')
|
await img.text_box(text.replace('\n', '^'), (5, 495), (5, 33 * 15 - 5), fm.get('hywh', 25), 'black')
|
||||||
return MessageBuild.Image(img, mode='RGB')
|
return MessageBuild.Image(img, mode='RGB')
|
||||||
|
Loading…
Reference in New Issue
Block a user