Skip to content

Instantly share code, notes, and snippets.

@itzmesuhail143
Forked from Loki-Xer/intro.js
Last active May 7, 2024 06:08
Show Gist options
  • Save itzmesuhail143/85454021a7866e1df4aa623342444198 to your computer and use it in GitHub Desktop.
Save itzmesuhail143/85454021a7866e1df4aa623342444198 to your computer and use it in GitHub Desktop.
MADE WITH πŸ’œ
const { System, isPrivate, getBuffer } = require("../lib/");
const image = 'https://i.imgur.com/MEHf4qh.jpeg';
const thumb = "https://i.imgur.com/a9JJc24.jpeg";
System({
pattern: 'intro ?(.*)',
fromMe: true,
desc: 'Shows My Intro',
type: 'misc',
}, async (message, match) => {
const number = message.user.jid;
const logo = await getBuffer(image);
const thumbnail = await getBuffer(thumb);
const sourceUrl = 'https://wa.me/916374437144?text=_Hᴇyy%20κœ±α΄œΚœα΄€Ιͺʟ🫢🏻🀍_';
const linkPreview = {
title: "β‰›Ν’βƒβƒ–βœ―βŽˆΝ’π‘Ίαͺ΅π‘ΌΝ’𝑯𝑨𝑰𝑳αͺ΅π– ‡π‘Ίαͺ΅π‘¬π‘Ήα­„βŽˆΝ’ β‰›βƒβƒ—βž³",
body: "κœ±α΄œΚœα΄€Ιͺʟ-xᴇʀ πŸ’Œ",
thumbnail: logo,
mediaType: 1,
mediaUrl: sourceUrl,
sourceUrl: sourceUrl,
showAdAttribution: true,
renderLargerThumbnail: true
};
message.quoted = {
key: {
fromMe: false,
participant: "[email protected]",
remoteJid: "status@broadcast"
},
message: {
contactMessage: {
displayName: `${message.pushName}`, // Ensure this variable is defined and contains the expected value
vcard: `BEGIN:VCARD\nVERSION:3.0\nN:XL;${message.client.user.name},;;;\nFN:${message.client.user.name},\nitem1.TEL;waid=${number.split('@')[0]}:${number.split('@')[0]}\nitem1.X-ABLabel:Ponsel\nEND:VCARD`,
jpegThumbnail: thumbnail
}
}
};
const text = `0ΫͺΫͺཻུꦽꦼ̷⸙‹‒══════════════♑᭄
β”‚ *γ€Œ 𝗠𝗬 π—œπ—‘π—§π—₯𝗒 」*
β”‚ *Name :* κœ±α΄œΚœα΄€Ιͺʟ-xᴇʀ
β”‚ *Place :* α΄‹α΄‡Κ€α΄€ΚŸα΄€
β”‚ *Gender :* α΄α΄€ΚŸα΄‡
β”‚ *Age :* 17
β”‚ *Phone :* wa.me/916374437144
β”‚ *IG ID :* https://www.instagram.com/__s_u_h_a_i_l__s_u_h_a_i_l__?igsh=MzNlNGNkZWQ4Mg==
β”‚ *Number :* 916374437144
β”‚ *Github :* itzmesuhail143
╰═════κͺΆ ΫͺΫͺཻུꦽꦼ̷⸙ ━ ━ ━ ━ κͺΆ ΫͺΫͺཻུꦽꦼ̷⸙`;
await message.client.sendMessage(message.chat, { text: text, contextInfo: { externalAdReply: linkPreview } }, { quoted: message.quoted || '' });
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment