This commit is contained in:
Yasir Aris M 2024-09-24 07:48:41 +07:00 committed by GitHub
parent eebbfdcfa8
commit 6d7bcc5ec6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1463,7 +1463,7 @@ async def muviku_scrap(_, message, strings):
res = "".join(f"<b>Host: <a href='{i['link']}'>{i['kualitas']}</a></b>\n\n" for i in data)
await message.reply_msg(res)
except MessageTooLong:
url = await post_to_telegraph(False, link, res.replace("\n", "<br>")
url = await post_to_telegraph(False, link, res.replace("\n", "<br>"))
await message.reply_msg(f"Your result is too long, i have pasted your result on Telegraph:\n{url}")
except IndexError:
return await message.reply(