mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update pypi_search.py
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
b374614cce
commit
fbed06d82b
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ async def pypi_s(_, ctx: Message):
|
||||||
keyboard = InlineKeyboard()
|
keyboard = InlineKeyboard()
|
||||||
keyboard.row(InlineButton("❌ Close", f"close#{ctx.from_user.id}"))
|
keyboard.row(InlineButton("❌ Close", f"close#{ctx.from_user.id}"))
|
||||||
try:
|
try:
|
||||||
await pesan.edit_msg(pypires, reply_markup=keyboard)
|
await pesan.edit_msg(msg, reply_markup=keyboard)
|
||||||
except MessageTooLong:
|
except MessageTooLong:
|
||||||
url = await post_to_telegraph(False, f"{pkgname}-detail", msg)
|
url = await post_to_telegraph(False, f"{pkgname}-detail", msg)
|
||||||
await pesan.edit_msg(f"Result is too long:\n{url}", reply_markup=keyboard)
|
await pesan.edit_msg(f"Result is too long:\n{url}", reply_markup=keyboard)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue