
𝐇𝐚𝐬𝐮𝐦𝐢𝐁𝐨𝐭 𝐅𝐫𝐞𝐞𝐂𝐨𝐝𝐞𝐬
January 31, 2025 at 01:29 PM
/* ౨ৎ ˖ ࣪⊹ 𝐁𝐲 𝐉𝐭𝐱𝐬 𐙚˚.ᡣ𐭩
❀ 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
*/
// *⊹₊⟡⋆ Tiktok DL*
import axios from 'axios'
let HS = async (m, { conn, text }) => {
if (!text) return conn.reply(m.chat, `❀ Ingresa un link de tiktok`, m)
try {
let { title, cover, ai_dynamic_cover, origin_cover, duration, play, wmplay, music, music_info, play_count, digg_count, comment_count, share_count, download_count, author } = await tiktok.download(text)
let HS = `- *Titulo :* ${title}
- *Creador :* ${author.nickname}
- *Duracion :* ${duration} segundos
- *Reproducciones :* ${play_count}
- *Comentarios :* ${comment_count}
- *Compartidos* ${share_count}
- *Descargas :* ${download_count}`
await conn.sendFile(m.chat, play, 'HasumiBotFreeCodes.mp4', HS, m)
await conn.sendFile(m.chat, music, 'HasumiBotFreeCodes.mp3', null, m)
} catch (error) {
console.error(error)
}}
HS.command = ['tiktokdl', 'tiktok', 'a']
export default HS
const tiktok = {
download: async function (url) {
try {
const response = await axios(`https://tikwm.com/api/?url=${url}`).catch(e => e.response)
if (response && response.data && response.data.data) {
return response.data.data
} else {
throw new Error('enlace de descarga no encontrado :v')
}
} catch (error) {
throw new Error('TIKTOK DL ERROR ' + error)
}},
}
😂
🤨
2