
𝐇𝐚𝐬𝐮𝐦𝐢𝐁𝐨𝐭 𝐅𝐫𝐞𝐞𝐂𝐨𝐝𝐞𝐬
February 2, 2025 at 10:38 AM
/* ౨ৎ ˖ ࣪⊹ 𝐁𝐲 𝐉𝐭𝐱𝐬 𐙚˚.ᡣ𐭩
❀ Canal Principal ≽^•˕• ྀི≼
https://whatsapp.com/channel/0029VaeQcFXEFeXtNMHk0D0n
❀ Canal Rikka Takanashi Bot
https://whatsapp.com/channel/0029VaksDf4I1rcsIO6Rip2X
❀ Canal StarlightsTeam
https://whatsapp.com/channel/0029VaBfsIwGk1FyaqFcK91S
❀ HasumiBot FreeCodes
https://whatsapp.com/channel/0029Vanjyqb2f3ERifCpGT0W
*/
// ❀ Canal Owner Api :
// https://whatsapp.com/channel/0029VakPf6C0bIdnzOGlMZ1K
// *𓍯𓂃𓏧♡ YTMP4*
import axios from 'axios'
let HS = async (m, { conn, text }) => {
if (!text) return conn.reply(m.chat, `❀ Ingresa un link de YouTube`, m)
try {
let api = await axios.get(`https://mahiru-shiina.vercel.app/download/ytmp4?url=${text}`)
let json = api.data
let { title, description, uploaded, duration, views, type, url, thumbnail, author, download } = json.data
let { name, url: authorUrl } = author
let HS = `- *Titulo:* ${title}
- *Autor:* ${name} - ${authorUrl}
- *Descripción:* ${description}
- *Subido:* ${uploaded}
- *Duración:* ${duration}
- *Vistas:* ${views}`
await conn.sendMessage(m.chat, { image: { url: thumbnail }, caption: HS }, { quoted: m })
await conn.sendMessage(m.chat, { video: { url: download }, mimetype: 'video/mp4' }, { quoted: m })
} catch (error) {
console.error(error)
}}
HS.command = ['ytmp4']
export default HS