Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirarism authored Sep 27, 2024
1 parent 62b0018 commit cf004ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misskaty/plugins/fun.py
Original file line number Diff line number Diff line change
Expand Up @@ -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: <b>{correct_answer.upper()}</b>")
break
Expand Down

0 comments on commit cf004ef

Please sign in to comment.