From cf004eff38c90d295841c6c1fdca530f17bf436e Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Fri, 27 Sep 2024 09:15:31 +0700 Subject: [PATCH] hmm --- misskaty/plugins/fun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/fun.py b/misskaty/plugins/fun.py index 139774a0..6bd19d64 100644 --- a/misskaty/plugins/fun.py +++ b/misskaty/plugins/fun.py @@ -241,7 +241,7 @@ async def tebak_gambar(client, message): await message.reply_photo(photo=image_url, caption="Tebak gambar ini! Kamu punya 30 detik untuk menjawab.") while True: try: - response = await client.listen(message.chat.id, filters=filters.text, timeout=30) + response = await client.listen(chat_id=message.chat.id, filters=filters.text, timeout=30) if response.text.lower() == correct_answer.lower(): await response.reply_text(f"Selamat! Jawaban kamu benar: {correct_answer.upper()}") break