/* $$$$$$\ $$\ $$ __$$\ $$ | $$ / \__|$$\ $$\ $$$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ \$$$$$$\ $$ | $$ |$$ __$$\ \____$$ |$$ __$$\ $$ __$$\ $$ __$$\ \____$$\ $$ | $$ |$$ | $$ | $$$$ _/ $$$$$$$$ |$$ | \__|$$ / $$ | $$\ $$ |$$ | $$ |$$ | $$ | $$ _/ $$ ____|$$ | $$ | $$ | \$$$$$$ |\$$$$$$ |$$$$$$$ |$$$$$$$$\ \$$$$$$$\ $$ | \$$$$$$ | \______/ \______/ \_______/ \________| \_______|\__| \______/ Project Name : ENCRYPTO-27 Creator : Diego Allies ( DUDAS OFC ) Repo : https//github.com/mrfrank-ofc/ENCRYPTO-27 Support : wa.me/27679291800 */ const { cmd } = require('../command'); const config = require('../config'); cmd({ pattern: "owner", react: "✅", desc: "Get owner number", category: "main", filename: __filename }, async (conn, mek, m, { from }) => { try { const ownerNumber = config.OWNER_NUMBER; // Fetch owner number from config const ownerName = config.OWNER_NAME; // Fetch owner name from config const vcard = 'BEGIN:VCARD\n' + 'VERSION:3.0\n' + `FN:${ownerName}\n` + `TEL;type=CELL;type=VOICE;waid=${ownerNumber.replace('+', '')}:${ownerNumber}\n` + 'END:VCARD'; // Send the vCard const sentVCard = await conn.sendMessage(from, { contacts: { displayName: ownerName, contacts: [{ vcard }] } }); // Send the owner contact message with image and audio await conn.sendMessage(from, { image: { url: 'https://i.postimg.cc/Tw01QQgN/White-and-Green-Simple-Professional-Business-Project-Presentation-3.jpg' }, // Image URL from your request caption: `╭━━〔 *SUBZERO MD* 〕━━┈⊷ ┃◈╭─────────────·๏ ┃◈┃• *Here are the owner details* ┃◈┃• *Name* - ${ownerName} ┃◈┃• *Number* ${ownerNumber} ┃◈┃• *Version*: 1.0.4 ┃◈└───────────┈⊷ ╰──────────────┈⊷ > © ᴘᴏᴡᴇʀᴇᴅ ʙʏ ᴍʀ ꜰʀᴀɴᴋ`, // Display the owner's details contextInfo: { mentionedJid: [`${ownerNumber.replace('+', '')}@s.whatsapp.net`], forwardingScore: 999, isForwarded: true, forwardedNewsletterMessageInfo: { newsletterJid: '120363304325601080@newsletter', newsletterName: 'DUDAS OFC', serverMessageId: 143 } } }, { quoted: mek }); // Send audio as per your request await conn.sendMessage(from, { audio: { url: 'https://github.com/mrfrank-ofc/ENCRYPTO-27-DATABASE/raw/refs/heads/main/audios/subzero-theone.mp3' }, // Audio URL mimetype: 'audio/mp4', ptt: true }, { quoted: mek }); } catch (error) { console.error(error); reply(`An error occurred: ${error.message}`); } });