randydev commited on
Commit
1101551
·
verified ·
1 Parent(s): b9bb8fa

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -197,7 +197,7 @@ async def searchhub(client: Client, message: Message):
197
  type_text=query
198
  )
199
  )
200
- need_forwards = await client.send_video(
201
  message.chat.id,
202
  file_path,
203
  caption=f"• Powered by {client.me.mention}",
@@ -211,7 +211,6 @@ async def searchhub(client: Client, message: Message):
211
  upload_text
212
  )
213
  )
214
- await need_forwards.forward(-1002290885889)
215
  await pro.delete()
216
  os.remove(thumb)
217
  os.remove(file_path)
 
197
  type_text=query
198
  )
199
  )
200
+ await client.send_video(
201
  message.chat.id,
202
  file_path,
203
  caption=f"• Powered by {client.me.mention}",
 
211
  upload_text
212
  )
213
  )
 
214
  await pro.delete()
215
  os.remove(thumb)
216
  os.remove(file_path)