待完善

This commit is contained in:
2025-12-09 00:02:26 +08:00
parent eed21e6223
commit 54fae88914
6 changed files with 274 additions and 22 deletions

View File

@ -208,5 +208,8 @@ async def _ext_img(
return None
DepImageBytes = Annotated[bytes, nonebot.params.Depends(_ext_img_data)]
DepPILImage = Annotated[PIL.Image.Image, nonebot.params.Depends(_ext_img)]
DepImageBytesOrNone = Annotated[bytes | None, nonebot.params.Depends(_ext_img_data)]