randydev commited on
Commit
6266c41
·
verified ·
1 Parent(s): dde99d7

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. 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