mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +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)
|
||||
del LIST_CARI[msg]
|
||||
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>")
|
||||
msg = ""
|
||||
buttons = InlineKeyboard(row_width=4)
|
||||
|
|
@ -95,8 +95,11 @@ async def imdbcari_en(client, query):
|
|||
i, msg, uid = query.data.split("#")
|
||||
if query.from_user.id != int(uid):
|
||||
return await query.answer(f"⚠️ Access Denied!", True)
|
||||
kueri = LIST_CARI.get(msg)
|
||||
del LIST_CARI[msg]
|
||||
try:
|
||||
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>")
|
||||
msg = ""
|
||||
buttons = InlineKeyboard(row_width=4)
|
||||
|
|
|
|||
Loading…
Reference in a new issue