From 5a7c54528c6ed3fee27e2badc2978ff10a79e5f4 Mon Sep 17 00:00:00 2001 From: shoucandanghehe Date: Mon, 5 Aug 2024 12:02:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E6=AD=A3=20record=20?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=20type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py | 2 +- nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py b/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py index b1966dc..1ab56fb 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/record/blitz.py @@ -90,7 +90,7 @@ async def make_blitz_image(player: Player) -> bytes: page=await render( 'v2/tetrio/record/blitz', Record( - type='personal_best', + type='best', user=User( id=user.ID, name=user.name.upper(), diff --git a/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py b/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py index de05e5b..5f316ba 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/record/sprint.py @@ -91,7 +91,7 @@ async def make_sprint_image(player: Player) -> bytes: page=await render( 'v2/tetrio/record/40l', Record( - type='personal_best', + type='best', user=User( id=user.ID, name=user.name.upper(),