const moment = require("moment-timezone"); module.exports = { config: { name: "info", aliases: ["admininfo", "botinfo", "info", "ownerinfo"], version: "2.0", author: "ไบ—๐Ÿ…ผ๐Ÿ…ฐแฅซแฉฃ๐Ÿ…ผแฅซแฉฃ๐Ÿ†„๐Ÿ…ฝร—อœร—", countDown: 5, role: 0, shortDescription: { en: "Show bot & owner information" }, longDescription: { en: "Display detailed bot and owner information" }, category: "owner", guide: { en: "{pn}" } }, onStart: async function ({ message }) { // ๐Ÿ‘‘ OWNER INFO const authorName = "ร—แทผร—๏ผญ๏ผก๏ผญ๏ผต๏ผฎโ˜†"; const ownAge = "21"; const messenger = "https://m.me/botxdi"; const authorFB = "Mohammad Mamun"; const authorNumber = "+8801830981279"; const status = "Single"; // ๐Ÿ‡ง๐Ÿ‡ฉ BANGLADESH TIME const now = moment().tz("Asia/Dhaka"); const date = now.format("DD MMMM YYYY"); const time = now.format("hh:mm:ss A"); // โšก BOT UPTIME const uptime = process.uptime(); const seconds = Math.floor(uptime % 60); const minutes = Math.floor((uptime / 60) % 60); const hours = Math.floor((uptime / 3600) % 24); const days = Math.floor(uptime / 86400); const uptimeString = `${days}d โ€ข ${hours}h โ€ข ${minutes}m โ€ข ${seconds}s`; const botName = global.GoatBot?.config?.nickNameBot || "โคอŸอŸอžอž โ˜ป ๐—ฌ๐—ข๐—จ๐—ฅ ๐—•๐—•๐—ญ ๐Ÿ’Œ"; const prefix = global.GoatBot?.config?.prefix || "."; const text = ` ๐Ÿค– ๐๐จ๐ญ ๐๐š๐ฆ๐ž : ${botName} โšก ๐๐ซ๐ž๐Ÿ๐ข๐ฑ : ${prefix} ๐ŸŸข ๐’๐ญ๐š๐ญ๐ฎ๐ฌ : ๐Ž๐๐‹๐ˆ๐๐„ ๐Ÿ‘‘ ๐Ž๐–๐๐„๐‘ ๐Ÿ’™ ๐๐š๐ฆ๐ž : ${authorName} ๐Ÿ“ ๐€๐ ๐ž : ${ownAge} ๐Ÿ’• ๐’๐ญ๐š๐ญ๐ฎ๐ฌ : ${status} ๐Ÿ“ž ๐–๐ก๐š๐ญ๐ฌ๐€๐ฉ๐ฉ : ${authorNumber} ๐ŸŒ ๐…๐š๐œ๐ž๐›๐จ๐จ๐ค : ${authorFB} ๐Ÿ• ๐’๐˜๐’๐“๐„๐Œ ๐Ÿ“… ๐ƒ๐š๐ญ๐ž : ${date} โฐ ๐“๐ข๐ฆ๐ž : ${time} ๐Ÿš€ ๐”๐ฉ๐ญ๐ข๐ฆ๐ž : ${uptimeString} ๐Ÿ“ฉ ๐‚๐Ž๐๐“๐€๐‚๐“ ๐Ÿ”— ${messenger} `; return message.reply(text.trim()); }, onChat: async function ({ event, message }) { if (event.body?.toLowerCase().trim() === "info") { return this.onStart({ message }); } } };