diff --git a/sukuinote/plugins/info.py b/sukuinote/plugins/info.py index 1132c8c..856cbfc 100644 --- a/sukuinote/plugins/info.py +++ b/sukuinote/plugins/info.py @@ -60,8 +60,8 @@ async def info(client, message): text_ping += f'\nLinked Chat: {_generate_sexy(entity.linked_chat, False)} [{entity.linked_chat.id}]' text_unping += f'\nLinked Chat: {_generate_sexy(entity.linked_chat, False)} [{entity.linked_chat.id}]' if entity.description: - text_ping += f'\nDescription:\n{html.escape(entity.description)}' - text_unping += f'\nDescription:\n{html.escape(entity.description.replace("@", "@" + ZWS))}' + text_ping += f'\nDescription:\n{html.escape(entity.description or entity.bio)}' + text_unping += f'\nDescription:\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: