Skip to content

Instantly share code, notes, and snippets.

@Nikhilsree1
Forked from Loki-Xer/intro.js
Last active January 15, 2024 06:21
Show Gist options
  • Save Nikhilsree1/decf864761b39b6b36b2cd0e683ac2b1 to your computer and use it in GitHub Desktop.
Save Nikhilsree1/decf864761b39b6b36b2cd0e683ac2b1 to your computer and use it in GitHub Desktop.
MADE WITH πŸ’œ
const { System, isPrivate, getBuffer } = require("../lib/");
const image = 'https://i.imgur.com/ira6YIa.png';
const thumb = "https://i.imgur.com/ira6YIa.png";
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/917909187006?text=_αŸšΚœα΄‡ΚŸΚŸα΄+ᴍΙͺα΄„Κœα΄œ+κœ±Κœα΄‡α΄›α΄›α΄€+ʟᴏᴠ+ʏᴏᴜ+ᴠʀᴏ+🀍_';
const linkPreview = {
title: "β˜…βŸ΅βœͺβƒžπ‘΄π‘°π‘ͺ𝑯𝑼𝒁βœͺβƒžπŸŒ·",
body: "β˜…βŸ΅βœͺβƒžπ‘΄π‘°π‘ͺ𝑯𝑼𝒁βœͺβƒžπŸŒ· πŸ’Œ",
thumbnail: logo,
mediaType: 1,
mediaUrl: sourceUrl,
sourceUrl: sourceUrl,
showAdAttribution: true,
renderLargerThumbnail: true
};
message.quoted = {
key: {
fromMe: false,
participant: "0@s.whatsapp.net",
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 :* β˜…βŸ΅βœͺβƒžπ‘΄π‘°π‘ͺ𝑯𝑼𝒁βœͺβƒžπŸŒ·
β”‚ *Place :* α΄›Κ€Ιͺα΄ α΄€Ι΄α΄…Κ€α΄œα΄
β”‚ *Gender :* α΄α΄€ΚŸα΄‡
β”‚ *Age :* ɴᴏᴛ Κ€α΄‡α΄ α΄‡α΄€ΚŸα΄‡α΄…
β”‚ *Phone :* wa.me/917909187006
β”‚ *IG ID :* ᴍʀ_ᴅᴇᴠΙͺʟ_ᴊᴜᴩΙͺᴛᴇʀ
β”‚ *Profle :* ᴄʏʙᴇʀ ᴠᴀᴍᴩΙͺʀᴇ
β”‚ *Github :* β˜…βŸ΅βœͺβƒžπ‘΄π‘°π‘ͺ𝑯𝑼𝒁βœͺβƒžπŸŒ·
╰═════κͺΆ ΫͺΫͺཻུꦽꦼ̷⸙ ━ ━ ━ ━ κͺΆ ΫͺΫͺཻུꦽꦼ̷⸙`;
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