Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py
CHANGED
@@ -453,7 +453,7 @@ async def flux_prompt(client, callback):
|
|
453 |
{"user_id": user_id},
|
454 |
{"$set": {
|
455 |
"translate_text": response.text,
|
456 |
-
"file_id": photo.file_id,
|
457 |
"is_channel_photo": True
|
458 |
}},
|
459 |
upsert=True
|
|
|
453 |
{"user_id": user_id},
|
454 |
{"$set": {
|
455 |
"translate_text": response.text,
|
456 |
+
"file_id": photo.photo.file_id,
|
457 |
"is_channel_photo": True
|
458 |
}},
|
459 |
upsert=True
|