Archived
1
0
Fork 0

Update __init__.py

This commit is contained in:
多羅狼 2023-12-28 20:26:11 +08:00 committed by GitHub
parent d3a69268b5
commit aa6459fff6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ async def _(msg: Bot.MessageSession):
else:
url = await parse_shorturl(f"https://b23.tv/{video}")
if not url:
await msg.finish(msg.locale.t("bilibili.message.error.invalid"))
return
await get_info(msg, url, get_detail=False)