Show bio for users in .info
This commit is contained in:
parent
207f3ee8ab
commit
bba43fef3e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue