diff --git a/nonebot_plugin_tetris_stats/games/tetrio/query.py b/nonebot_plugin_tetris_stats/games/tetrio/query.py index 89af93a..63de28a 100644 --- a/nonebot_plugin_tetris_stats/games/tetrio/query.py +++ b/nonebot_plugin_tetris_stats/games/tetrio/query.py @@ -394,6 +394,7 @@ async def make_query_image_v2(player: Player) -> bytes: total=league.gamesplayed, wins=league.gameswon, ), + decaying=league.decaying, ) if isinstance(league, RatedLeague) else None, diff --git a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio_info_v2.py b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio_info_v2.py index c096abc..a32b21f 100644 --- a/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio_info_v2.py +++ b/nonebot_plugin_tetris_stats/utils/render/schemas/tetrio_info_v2.py @@ -69,6 +69,8 @@ class TetraLeague(BaseModel): statistic: TetraLeagueStatistic + decaying: bool + class Sprint(BaseModel): time: str