mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 03:34:51 +00:00
Update pypi_search.py
Signed-off-by: Yasir Aris M <git@yasir.id>
This commit is contained in:
parent
340fa29896
commit
41cfc85bc1
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ async def pypi_s(_, ctx: Message):
|
||||||
try:
|
try:
|
||||||
await pesan.edit_msg(msg, 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"{res['info'].get('name')} {res['info'].get('version', None)}-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