randydev commited on
Commit
896b682
·
verified ·
1 Parent(s): 07439f9
Files changed (1) hide show
  1. chatbot/plugins/chat.py +0 -14
chatbot/plugins/chat.py CHANGED
@@ -379,18 +379,6 @@ async def geminigen_prompt(client, callback):
379
  ),
380
  reply_markup=keyboard
381
  )
382
- photo = await client.send_photo(
383
- "LicenseAknBotDB",
384
- file_path,
385
- caption=f"User Mention: {callback.from_user.mention}\n"
386
- f"User ID: `{user_id}`",
387
- reply_markup=view_button_user
388
- )
389
- await db.backup_chatbot.update_one(
390
- {"user_id": user_id},
391
- {"$set": {"file_id": photo.photo.file_id}},
392
- upsert=True
393
- )
394
  translation_entry = {
395
  "uuid": uuid_code,
396
  "text": captions,
@@ -472,8 +460,6 @@ async def flux_prompt(client, callback):
472
  )
473
  keyboard = create_keyboard(
474
  user_id=user_id,
475
- chat=data.get("channel_username", "RendyProjects"),
476
- is_menu=data.get("is_channel_photo", False),
477
  uuid_str=uuid_code
478
  )
479
  view_button_user = anonymous_user(user_id=user_id)
 
379
  ),
380
  reply_markup=keyboard
381
  )
 
 
 
 
 
 
 
 
 
 
 
 
382
  translation_entry = {
383
  "uuid": uuid_code,
384
  "text": captions,
 
460
  )
461
  keyboard = create_keyboard(
462
  user_id=user_id,
 
 
463
  uuid_str=uuid_code
464
  )
465
  view_button_user = anonymous_user(user_id=user_id)