mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +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("#")
|
||||
if query.from_user.id != int(uid):
|
||||
return await query.answer(f"⚠️ Akses Ditolak!", 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>🔎 Sedang mencari di Database IMDB..</i>")
|
||||
msg = ""
|
||||
buttons = InlineKeyboard(row_width=4)
|
||||
|
|
|
|||
Loading…
Reference in a new issue