/OWNER.js Secret
Last active
November 14, 2025 22:58
-
Star
(10)
You must be signed in to star a gist -
Fork
(140)
You must be signed in to fork a gist
-
-
Save lyfe00011/d38603fd734aab9e4544c015e4d13a84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { bot, getBuffer, genThumbnail, jidToNum } = require('../lib/') | |
| const url = 'https://i.pinimg.com/236x/16/22/2a/16222a14b08235dd1d795e4152a8f8d5.jpg' | |
| bot( | |
| { | |
| pattern: 'owner ?(.*)', | |
| fromMe: true, | |
| desc: 'contact', | |
| type: 'whatsapp', | |
| }, | |
| async (message, match) => { | |
| const thumbnail = await genThumbnail( | |
| await ( | |
| await getBuffer(url) | |
| ).buffer | |
| ) | |
| const owner = jidToNum(message.participant) | |
| const name = message.pushName | |
| const vcard = | |
| 'BEGIN:VCARD\n' + | |
| 'VERSION:3.0\n' + | |
| `FN:${name}\n` + | |
| `ORG:${name};\n` + | |
| `TEL;type=CELL;type=VOICE;waid=${owner}:+${owner}\n` + | |
| 'END:VCARD' | |
| await message.send( | |
| { | |
| displayName: `${name}`, | |
| contacts: [{ vcard }], | |
| }, | |
| { | |
| linkPreview: { | |
| head: `${name}`, | |
| body: '', | |
| mediaType: 2, | |
| thumbnail: thumbnail, | |
| showAdAttribution: true, | |
| sourceUrl: `https://wa.me/${owner}`, | |
| }, | |
| quoted: { | |
| key: { | |
| fromMe: false, | |
| participant: '[email protected]', | |
| remoteJid: 'status@broadcast', | |
| }, | |
| message: { | |
| imageMessage: { | |
| jpegThumbnail: thumbnail, | |
| caption: 'Im the one and only Owner', | |
| }, | |
| }, | |
| }, | |
| }, | |
| 'contacts' | |
| ) | |
| } | |
| ) |
Please when I edited it is still showing this code, what should I do
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Haendel