mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-01 13:09:56 +08:00
修改:base64前缀匹配
This commit is contained in:
parent
024a1debd7
commit
434106c933
@ -57,7 +57,7 @@ async def send_charcard_list(bot: HoshinoBot, ev: CQEvent):
|
||||
uid = uid[0]
|
||||
im = await draw_cahrcard_list(uid, limit)
|
||||
|
||||
if isinstance(im, bytes):
|
||||
if im.startswith('base64://'):
|
||||
await bot.send(ev, MessageSegment.image(im))
|
||||
else:
|
||||
await bot.send(ev, str(im))
|
||||
|
Loading…
x
Reference in New Issue
Block a user