mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
🐛 移除高版本写法
This commit is contained in:
parent
0c5ce62e6e
commit
13b240090e
@ -29,7 +29,7 @@ async def get_event_avatar(ev: Event) -> Image.Image:
|
||||
async def get_avatar_with_ring(
|
||||
ev: Event,
|
||||
size: int = 300,
|
||||
bg_color: Tuple[int, int, int] | None = None,
|
||||
bg_color: Union[Tuple[int, int, int], None] = None,
|
||||
is_ring: bool = True,
|
||||
) -> Image.Image:
|
||||
avatar = await get_event_avatar(ev)
|
||||
|
Loading…
x
Reference in New Issue
Block a user