mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 37c12e439c | |||
| 504579710e |
@@ -394,6 +394,7 @@ async def make_query_image_v2(player: Player) -> bytes:
|
|||||||
total=league.gamesplayed,
|
total=league.gamesplayed,
|
||||||
wins=league.gameswon,
|
wins=league.gameswon,
|
||||||
),
|
),
|
||||||
|
decaying=league.decaying,
|
||||||
)
|
)
|
||||||
if isinstance(league, RatedLeague)
|
if isinstance(league, RatedLeague)
|
||||||
else None,
|
else None,
|
||||||
|
|||||||
@@ -69,6 +69,8 @@ class TetraLeague(BaseModel):
|
|||||||
|
|
||||||
statistic: TetraLeagueStatistic
|
statistic: TetraLeagueStatistic
|
||||||
|
|
||||||
|
decaying: bool
|
||||||
|
|
||||||
|
|
||||||
class Sprint(BaseModel):
|
class Sprint(BaseModel):
|
||||||
time: str
|
time: str
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = 'nonebot-plugin-tetris-stats'
|
name = 'nonebot-plugin-tetris-stats'
|
||||||
version = '1.2.12'
|
version = '1.2.13'
|
||||||
description = '一款基于 NoneBot2 的用于查询 Tetris 相关游戏数据的插件'
|
description = '一款基于 NoneBot2 的用于查询 Tetris 相关游戏数据的插件'
|
||||||
authors = ['scdhh <wallfjjd@gmail.com>']
|
authors = ['scdhh <wallfjjd@gmail.com>']
|
||||||
readme = 'README.md'
|
readme = 'README.md'
|
||||||
|
|||||||
Reference in New Issue
Block a user