import fetch from 'node-fetch' export default { names: ['Downloader'], tags: ['instagram'], command: ['instagram', 'ig', 'igdl'], start: async (m, { conn, text, prefix, command }) => { if (!text) return m.reply(`Masukan agram contoh ${prefix+command} https://www.instagram.com/p/Cx2oXj-PQNN/?igshid=MTc4MmM1YmI2Ng==`); let res = await fetch('https://vihangayt.me/download/instagram?url=' + text); m.adReply(mess.wait, setting.thumbnail, m.chat) let igeh = await res.json(); if (igeh.data && igeh.data.data.length > 0) { for (let item of igeh.data.data) { await new Promise(resolve => setTimeout(resolve, 3000)); conn.sendFile(m.chat, item.url, { quoted: m }); } } }, limit: 6, premium: false };