Show bio for users in .info

This commit is contained in:
blank X 2020-12-26 22:47:22 +07:00
parent 207f3ee8ab
commit bba43fef3e
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ async def info(client, message):
text_ping += f'\n<b>Linked Chat:</b> {_generate_sexy(entity.linked_chat, False)} [<code>{entity.linked_chat.id}</code>]'
text_unping += f'\n<b>Linked Chat:</b> {_generate_sexy(entity.linked_chat, False)} [<code>{entity.linked_chat.id}</code>]'
if entity.description:
text_ping += f'\n<b>Description:</b>\n{html.escape(entity.description)}'
text_unping += f'\n<b>Description:</b>\n{html.escape(entity.description.replace("@", "@" + ZWS))}'
text_ping += f'\n<b>Description:</b>\n{html.escape(entity.description or entity.bio)}'
text_unping += f'\n<b>Description:</b>\n{html.escape((entity.description or entity.bio).replace("@", "@" + ZWS))}'
reply = await message.reply_text(text_unping, disable_web_page_preview=True)
if text_ping != text_unping:
try: