mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 04:14:51 +00:00
Fix
This commit is contained in:
parent
7522e7626a
commit
53ce44e629
1 changed files with 6 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ async def imdbcari_id(client, query):
|
||||||
kueri = LIST_CARI.get(msg)
|
kueri = LIST_CARI.get(msg)
|
||||||
del LIST_CARI[msg]
|
del LIST_CARI[msg]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
return await query.message.edit_caption(f"⚠️ Callback Query Expired!", True)
|
return await query.message.edit_caption(f"⚠️ Callback Query Sudah Expired!", True)
|
||||||
await query.message.edit_caption("<i>🔎 Sedang mencari di Database IMDB..</i>")
|
await query.message.edit_caption("<i>🔎 Sedang mencari di Database IMDB..</i>")
|
||||||
msg = ""
|
msg = ""
|
||||||
buttons = InlineKeyboard(row_width=4)
|
buttons = InlineKeyboard(row_width=4)
|
||||||
|
|
@ -95,8 +95,11 @@ async def imdbcari_en(client, query):
|
||||||
i, msg, uid = query.data.split("#")
|
i, msg, uid = query.data.split("#")
|
||||||
if query.from_user.id != int(uid):
|
if query.from_user.id != int(uid):
|
||||||
return await query.answer(f"⚠️ Access Denied!", True)
|
return await query.answer(f"⚠️ Access Denied!", True)
|
||||||
kueri = LIST_CARI.get(msg)
|
try:
|
||||||
del LIST_CARI[msg]
|
kueri = LIST_CARI.get(msg)
|
||||||
|
del LIST_CARI[msg]
|
||||||
|
except KeyError:
|
||||||
|
return await query.message.edit_caption(f"⚠️ Callback Query Expired!", True)
|
||||||
await query.message.edit_caption("<i>🔎 Looking in the IMDB Database..</i>")
|
await query.message.edit_caption("<i>🔎 Looking in the IMDB Database..</i>")
|
||||||
msg = ""
|
msg = ""
|
||||||
buttons = InlineKeyboard(row_width=4)
|
buttons = InlineKeyboard(row_width=4)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue