// code from goatstore // api: https://store.agi.bd const fs = require("fs-extra"); const request = require("request"); const path = require("path"); module.exports = {   config: {     name: "owner",     version: "1.3.0",     author: "Zihad",     role: 0,     shortDescription: "Owner information with image",     category: "Information",     guide: {       en: "owner"     }   },   onStart: async function ({ api, event }) {     const ownerText =  `╭─ 👑 Oᴡɴᴇʀ Iɴғᴏ 👑 ─╮ │ 👤 Nᴀᴍᴇ       : Rᴀʙᴇʏᴀ ᴀᴋᴛᴇʀ ᴍɪʟɪ │ 🧸 Nɪᴄᴋ       : Mɪʟɪ │ 🎂 Aɢᴇ        : 13+ │ 💘 Rᴇʟᴀᴛɪᴏɴ : Sɪɴɢʟᴇ │ 🎓 Pʀᴏғᴇssɪᴏɴ : Sᴛᴜᴅᴇɴᴛ │ 📚 Eᴅᴜᴄᴀᴛɪᴏɴ : Iɴᴛᴇʀ 2ɴᴅ Yᴇᴀʀ │ 🏡 Lᴏᴄᴀᴛɪᴏɴ : 𝐂𝐡𝐚𝐧𝐝𝐩𝐮𝐫 ├─ 🔗 Cᴏɴᴛᴀᴄᴛ ─╮ │ 📘 Facebook  : fb.com/ │ 💬 Messenger: m.me/ │ 📞 WhatsApp  : wa.me/ ╰────────────────╯`;     const cacheDir = path.join(__dirname, "cache");     const imgPath = path.join(cacheDir, "owner.jpg");     if (!fs.existsSync(cacheDir)) fs.mkdirSync(cacheDir);     const imgLink = "https://i.imgur.com/OL8AdNw.png";     const send = () => {       api.sendMessage(         {           body: ownerText,           attachment: fs.createReadStream(imgPath)         },         event.threadID,         () => fs.unlinkSync(imgPath),         event.messageID       );     };     request(encodeURI(imgLink))       .pipe(fs.createWriteStream(imgPath))       .on("close", send);   } };