// code from goatstore // api: https://store.agi.bd module.exports = { config: { name: "birthday", version: "2.0.0", author: "𝐒𝐡𝐚𝐨𝐧 𝗔𝗵𝗺𝗲𝗱", countDown: 5, role: 0, shortDescription: "Birthday Countdown 🎂", longDescription: "মেহেদি জন্মদিন পর্যন্ত সময় দেখাবে।", category: "utility", guide: { en: "{pn}" } }, onStart: async function ({ event, message }) { try { // 🎂 Birthday Date const birthday = new Date( "June 04, 2005 00:00:00" ); const now = new Date(); // ⏳ Calculate remaining time const timeLeft = birthday - now; const seconds = Math.floor( (timeLeft / 1000) % 60 ); const minutes = Math.floor( (timeLeft / 1000 / 60) % 60 ); const hours = Math.floor( (timeLeft / 1000 / 60 / 60) % 24 ); const days = Math.floor( timeLeft / (1000 * 60 * 60 * 24) ); // 💬 Send message return message.reply( `মেহেদি এর জম্মদিন জুন মাসের ৪ তারিখে সবাই শুভেচ্ছা জানিও\n\n` + `» ${days} days ${hours} hours ${minutes} minutes ${seconds} seconds «` ); } catch (error) { console.error( "Birthday Error:", error ); return message.reply( "❌ | Birthday command চালাতে সমস্যা হয়েছে।" ); } } };