mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-06 20:04:51 +00:00
Fix
This commit is contained in:
parent
fcd04f714c
commit
7522e7626a
1 changed files with 5 additions and 2 deletions
|
|
@ -54,8 +54,11 @@ async def imdbcari_id(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"⚠️ Akses Ditolak!", True)
|
return await query.answer(f"⚠️ Akses Ditolak!", 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>🔎 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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue