Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py
CHANGED
@@ -750,7 +750,7 @@ async def terjemahkan(client, callback):
|
|
750 |
if not data_tr or "translate_history" not in data_tr:
|
751 |
return await callback.answer("translate history not found")
|
752 |
|
753 |
-
|
754 |
if translations.get("uuid") == uuidstr:
|
755 |
translation = trans(
|
756 |
translations.get("text"),
|
|
|
750 |
if not data_tr or "translate_history" not in data_tr:
|
751 |
return await callback.answer("translate history not found")
|
752 |
|
753 |
+
for translations in data_tr["translate_history"]:
|
754 |
if translations.get("uuid") == uuidstr:
|
755 |
translation = trans(
|
756 |
translations.get("text"),
|