text: let limit = 30
  let fetch = require('node-fetch')
  const { servers, ytv } = require('../lib/y2mate')
  let handler = async (m, { conn, args, isPrems, isOwner, usedPrefix, command }) => {
    if (!args || !args[0]) throw 'uhm... wheres the url?'
    let chat = global.db.data.chats[m.chat]
    let server = (args[1] || servers[0]).toLowerCase()
    try {
      let { dl_link, thumb, title, filesize, filesizeF } = await ytv(args[0], servers.includes(server) ? server : servers[0])
      let isLimit = (isPrems || isOwner ? 99 : limit) * 1024 < filesize
      m.reply(isLimit ? `File Size: ${filesizeF}\nFile size above ${limit} MB, download it yourself: ${dl_link}` : global.wait)
      let _thumb = {}
      try { _thumb = { thumbnail: await (await fetch(thumb)).buffer() } }
      catch (e) { }
      if (!isLimit) conn.sendFile(m.chat, dl_link, '', `
  *Title:* ${title}
  *File Size:* ${filesizeF}
    `.trim(), m, 0, {
        ..._thumb,
        asDocument: chat.useDocument
      })
    } catch (e) {
      return await conn.sendButton(m.chat, 'Server Error', '', 'Try Again', `${usedPrefix + command} ${args[0]}`)
    }
  }
  handler.help = ['mp4', 'v', ''].map(v => 'yt' + v + ` <url> [server: ${servers.join(', ')}]`)
  handler.tags = ['downloader']
  handler.command = /^ytv?$/i
  handler.owner = false
  handler.mods = false
  handler.premium = false
  handler.group = false
  handler.private = false
  
  handler.admin = false
  handler.botAdmin = false
  
  handler.fail = null
  handler.exp = 0
  handler.limit = true
  
  module.exports = handler
  
  