mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
✨ TETR.IO list 自动将 country 转大写
This commit is contained in:
@@ -36,6 +36,7 @@ async def _(
|
|||||||
limit: int | None = None,
|
limit: int | None = None,
|
||||||
country: str | None = None,
|
country: str | None = None,
|
||||||
):
|
):
|
||||||
|
country = country.upper() if country is not None else None
|
||||||
async with trigger(
|
async with trigger(
|
||||||
session_persist_id=await get_session_persist_id(event_session),
|
session_persist_id=await get_session_persist_id(event_session),
|
||||||
game_platform=GAME_TYPE,
|
game_platform=GAME_TYPE,
|
||||||
|
|||||||
Reference in New Issue
Block a user