// code from goatstore // api: https://store.agi.bd const axios = require("axios"); const fs = require("fs"); const path = require("path"); const moment = require("moment-timezone"); module.exports = { config: { name: "fbbio2", version: "2.0.0", author: "Shaon Ahmed", countDown: 5, role: 0, shortDescription: { en: "Facebook VIP Bio" }, longDescription: { en: "Send stylish Facebook VIP Bio with a random image" }, category: "fun", guide: { en: "{pn}" } }, onStart: async function ({ api, event, message }) { const cacheDir = path.join(__dirname, "cache"); const imagePath = path.join(cacheDir, "fbbio2.jpg"); try { // Create cache folder if not exists if (!fs.existsSync(cacheDir)) { fs.mkdirSync(cacheDir, { recursive: true }); } // Bangladesh time const juswa = moment .tz("Asia/Dhaka") .format("『D/MM/YYYY』 【hh:mm:ss】"); // New image links const imageUrls = [ "https://i.imgur.com/NJscSqd.jpeg", "https://i.imgur.com/Wa19R1t.jpeg", "https://i.imgur.com/NY71bPD.jpeg" ]; // Facebook VIP Bio const bio = `🦋🌸 এখানে মেহেদির কিছু ভিআইপি Bio দেয়া আছে🦋🌸👇 ●⬤🔴⬤● ●⬤🔴⬤●●⬤🔴⬤● ⟣⃟⸻🖤⸻⃟⟢ ❚♥️❚ ❚🖤❚ ❚💜❚ ❚💙❚ ❚💚❚ ❚💛❚ ❚🤎❚ ❚💟❚ ⟣⃟⸻🖤⸻⃟⟢ ●⬤🔴⬤●●⬤🔴⬤● ●⬤🔴⬤ ✦✗✦❚✦✗✦ ❚ ✦✗✦❚❚♥️❚❚✦✗✦ ❚❚💙❚❚ ╔━━❖❖🖤❖❖━━╗ ⭕Cute Kamina⭕ ╚━━❖❖🖤❖❖━━╝ ❚❚💙❚❚ ✦✗✦❚❚♥️❚❚✦✗✦ ❚ ✦✗✦❚✦✗ 🟣 ●⬤⚫⬤● ●⬤⚫⬤●●⬤⚫⬤● ⟣⃟⸻⭕⸻⃟⟢ ╔━━❖❖🖤❖❖━━╗ ⭕ Lovely Girl⭕ ╚━━❖❖🖤❖❖━━╝ ⟣⃟⸻⭕⸻⃟⟢ ●⬤⚫⬤●●⬤⚫⬤● ●⬤⚫⬤● ♥️●▬▬๑♥️๑▬▬●♥️ ♦️❖♦️ ╱◣♦️◢╲ ◥▔◣◣◈◢◢▔◤ ♦️♦️ ★Bad Girl★♦️♦️ ◢▂◥◤◈◥◥▂◣ ◢◤♦️◥◣ ◥◤ ♥️●▬▬๑♥️๑▬▬●♥️ ♦️♦️♦️♦️ ꧁🌹◆❃◆∆◆❃◆🌹꧂ ❣●▬▬๑♥️๑▬▬●❣ ╔━━❖❖🖤❖❖━━╗ 👑 FB Queen👑 ╚━━❖❖🖤❖❖━━╝ ❚❣●▬▬๑♥️๑▬▬●❣ ꧁🌹◆❃◆∆◆❃◆🌹꧂ ♦️♦️♦️♦️ ◥◣❀◢◤❖💠❖♥️❖💠❖💠 █ █ ♦️❖♦️❖♦️❖♦️❖♦ ╔━━❖❖🖤❖❖━━╗ ⭕Love U⭕ ╚━━❖❖🖤❖❖━━╝ ♦️❖♦️❖♦️❖♦️❖♦ █ █ 💠❖💠❖♥️❖💠❖💠 ╔╬═─╰╭❆☬❆╮╯─═╬╗ ╔━━❖❖❁❖❖━━╗ ╠━✫✫━❥SAB 13■━✫✫━╣ ╚━━❖❖❖❖━━╝ ╚╬═─╭╰❆☬❆╯╮─═╬╝ ꧁❤꧂꧁❤꧂ 💙 ◥♦◤ ◥♦◤ ꧁♦💠🔷💠♦꧂ ꧁♦⚀🔷⚀♦꧂ ☛♦Boys Crush♦☚ ꧁♦⚀🔷⚀♦꧂ ꧁♦💠🔷💠♦꧂ ◥♦◤ ◥♦◤ 💙 ꧁❤꧂꧁❤꧂ ◥⚚◤ ◥⚚◤ ◥⚚◤ ◥⚚◤ ╱◣◥◤◢╲ ◥✺◣◢✺◣♛◢✺◣◢✺◤ 😁Crush Queen😎 ◢✺◤◥✺◤♛◥✺◤◥✺◣ ╲◣◥◤◢╱ ◥⚚◤ ◥⚚◤ ◥⚚◤ ◥⚚◤ ◥⚚ ☘️ᥫ᭡፝֟፝֟ϻꫝɪ֟፝ꜱʜꫝᥫ᭡፝֟፝֟ 𝐏𝐑𝐎𝐉𝐄𝐂𝐓🌸`; // Select random image const imageUrl = imageUrls[Math.floor(Math.random() * imageUrls.length)]; try { // Download image const response = await axios({ method: "GET", url: imageUrl, responseType: "arraybuffer", timeout: 15000, headers: { "User-Agent": "Mozilla/5.0" } }); fs.writeFileSync(imagePath, response.data); // Send Bio + Image await message.reply({ body: `${bio}\n\n🕐 ${juswa}`, attachment: fs.createReadStream(imagePath) }); // Delete cached image setTimeout(() => { try { if (fs.existsSync(imagePath)) { fs.unlinkSync(imagePath); } } catch (e) {} }, 5000); } catch (imageError) { console.error( "FBBIO2 IMAGE ERROR:", imageError.message ); // If image download fails, send Bio only await message.reply(`${bio}\n\n🕐 ${juswa}`); } } catch (error) { console.error("FBBIO2 ERROR:", error); return message.reply( "❌ FBBIO2 চালাতে সমস্যা হয়েছে!\n\n" + "দয়া করে আবার চেষ্টা করো।" ); } } };