Skip to content

Instantly share code, notes, and snippets.

@Akshay-Eypz
Last active June 7, 2025 23:19
Show Gist options
  • Save Akshay-Eypz/a276b3b3d50d77425284b97da91ca47e to your computer and use it in GitHub Desktop.
Save Akshay-Eypz/a276b3b3d50d77425284b97da91ca47e to your computer and use it in GitHub Desktop.
Owner
const { izumi, mode } = require('../lib/');
izumi({
pattern: "owner$",
fromMe: mode,
desc: "Bot Owner",
type: "user",
}, async (message, match, client) => {
try {
const name = 'Eʏᴘᴢ ☔', title = "Iᴢᴜᴍɪ Sᴜᴘᴘᴏʀᴛ🧚‍♂️", number = '917994489493', body = "Eʏᴘᴢ☔";
const image = "https://f4fbebkpm5.proxynodejs.usequeue.com/UriXD0j.jpeg", sourceUrl = 'https://1s7q04t1lc.proxynodejs.usequeue.com/KHvcGD7aEUo8gPocJsYXZe';
const vcard = `BEGIN:VCARD\nVERSION:3.0\nFN:${name}\nTEL;type=CELL;type=VOICE;waid=${number}:${number}\nEND:VCARD`;
await client.sendMessage(message.jid, {
contacts: {
contacts: [{ vcard }]
},
contextInfo: {
externalAdReply: {
title: `${title}`,
body: `${body}`,
sourceUrl: `${sourceUrl}`,
mediaUrl: `${sourceUrl}`,
mediaType: 1,
showAdAttribution: true,
renderLargerThumbnail: true,
thumbnailUrl: `${image}`
}
}
});
} catch (error) {
console.error('Error occurred:', error);
await client.sendMessage(message.jid, { text: '```Error occurred while executing the command.```' });
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment