From 4c3a301c112cf5aaab33e4b5acd63e0e9e92e574 Mon Sep 17 00:00:00 2001 From: Kaif <88398455+kaif-00z@users.noreply.github.com> Date: Mon, 17 Jul 2023 01:21:23 +0530 Subject: [PATCH] =?UTF-8?q?Use=20=F0=9F=91=80=20and=20=F0=9F=A7=A0....?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/qrcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/qrcode.py b/plugins/qrcode.py index 5335ee9a7..17a5510ee 100644 --- a/plugins/qrcode.py +++ b/plugins/qrcode.py @@ -44,7 +44,7 @@ async def cd(e): if reply and (reply.sticker or reply.photo): cimg = await reply.download_media() elif ultroid_bot.me.photo and not ultroid_bot.me.photo.has_video: - cimg = await e.client.get_profile_photos(ultroid_bot.uid, limit=1)[0] + cimg = (await e.client.get_profile_photos(ultroid_bot.uid, limit=1))[0] kk = await e.eor(get_string("com_1")) img = cimg or default