Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Opaksfire authored Dec 18, 2024
1 parent b340ff4 commit 7cb1a38
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions plugins/aaaa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import fetch from 'node-fetch';
let handler = async (m, {
text,
usedPrefix,
command
}) => {
if (!text) throw 'please bro send a link!';
m.reply(wait)
try {
let anu = await fetch(`https://zazie-md-apis.vercel.app/api/sinhalasub/movie?url=${text}`)
let hasil = await anu.json()

conn.sendMessage(m.chat, { video: { url: hasil.result.dl_links3[2].link }, mimetype: 'video/mp4', caption: '> FIREMD INSTAGRAM DOWNLOADER'}, { quoted: m })
} catch (e) {
throw `*Server error!*`
}
}
handler.command = handler.help = ['mov', 'mv', 'fm'];
handler.tags = ['downloader'];
export default handler;

0 comments on commit 7cb1a38

Please sign in to comment.