mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-06 11:43:44 +08:00
🚨修复部分错误
This commit is contained in:
parent
a71f476773
commit
741ef2ec83
@ -34,6 +34,8 @@ async def send_char_info(bot: Bot, ev: Event):
|
||||
if im[1]:
|
||||
with open(TEMP_PATH / f'{ev.msg_id}.jpg', 'wb') as f:
|
||||
f.write(im[1])
|
||||
elif isinstance(im, Image.Image):
|
||||
await bot.send(await convert_img(im))
|
||||
elif im is None:
|
||||
return
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user