适配新赛季 list

This commit is contained in:
2024-08-25 23:16:33 +08:00
parent f509b03cd0
commit 606dddbca2
13 changed files with 146 additions and 42 deletions

View File

@@ -21,7 +21,7 @@ class User(BaseModel):
name: str
country: str | None
role: Literal['anon', 'user', 'bot', 'halfmod', 'mod', 'admin', 'sysop', 'banned']
role: Literal['anon', 'user', 'bot', 'halfmod', 'mod', 'admin', 'sysop', 'hidden', 'banned']
avatar: str | Avatar
banner: str | None
@@ -31,7 +31,6 @@ class User(BaseModel):
friend_count: int | None
supporter_tier: int
verified: bool
bad_standing: bool
badges: list[Badge]

View File

@@ -26,7 +26,6 @@ class User(BaseModel):
name: str
avatar: str | Avatar
country: str | None
verified: bool
tetra_league: TetraLeague
xp: Number
join_at: datetime | None