Add missing )
This commit is contained in:
parent
399d8a206c
commit
2bb3713f8c
|
@ -26,7 +26,7 @@ async def loli(client, inline_query):
|
||||||
data = data['data'][0]
|
data = data['data'][0]
|
||||||
title = f'{data["title"]} by {data["author"]}'
|
title = f'{data["title"]} by {data["author"]}'
|
||||||
description = None
|
description = None
|
||||||
caption = f'<a href="https://pixiv.net/artworks/{data["pid"]}">{html.escape(data["title"])}</a> by <a href="https://pixiv.net/users/{data["uid"]}">{html.escape(data["author"]}</a>\n'
|
caption = f'<a href="https://pixiv.net/artworks/{data["pid"]}">{html.escape(data["title"])}</a> by <a href="https://pixiv.net/users/{data["uid"]}">{html.escape(data["author"])}</a>\n'
|
||||||
if data['tags']:
|
if data['tags']:
|
||||||
caption += f'<b>Tags:</b> {html.escape(", ".join(data["tags"]))}'
|
caption += f'<b>Tags:</b> {html.escape(", ".join(data["tags"]))}'
|
||||||
description = f'Tags: {", ".join(data["tags"])}'
|
description = f'Tags: {", ".join(data["tags"])}'
|
||||||
|
|
Loading…
Reference in New Issue