Skip to content

Instantly share code, notes, and snippets.

@Saad2425
Forked from zailio/intro(inrl).js
Last active November 3, 2023 11:19
Show Gist options
  • Select an option

  • Save Saad2425/1293b17a62f83f75ea14c08271c1d8e9 to your computer and use it in GitHub Desktop.

Select an option

Save Saad2425/1293b17a62f83f75ea14c08271c1d8e9 to your computer and use it in GitHub Desktop.
const { inrl, getBuffer } = require('../lib/')
const image = 'https://i.imgur.com/83K7CKC.jpeg' //MAIN IMAGE URL HERE
const logo = 'https://i.imgur.com/RBHr5Pq.jpeg'
inrl(
{
pattern: 'intro ?(.*)',
fromMe: false,
desc: 'Shows My Intro',
type: 'misc',
}, async (message) => {
const thumb = await getBuffer(image)
const thumbnail = await getBuffer(logo)
const viz = {}
// ADDED /* TO REMOVE LINK PREVIEW TYPE
viz.linkPreview = {
renderLargerThumbnail: true,
showAdAttribution: true,
title: "ɪͥᴛͭsᷤ ᴍͫᴇͤ ⏤͟͞ꪶ Arbab",
body: "ᴄʟɪᴄᴋ ʜᴇʀᴇ ᴛᴏ ᴳᵉᵗ🫂 !",
mediaType: 1,
thumbnail: thumb,
sourceUrl: "http://wa.me/923135812027?text=_៚ʜᴇʟʟᴏ+sir+🪄_"
}
return await message.forwardMessage(message.from,`0ཻུ۪۪ꦽꦼ̷⸙‹•══════════════♡᭄
│ *「 𝗠𝗬 𝗜𝗡𝗧𝗥𝗢 」*
│ *Name :* ÄRßÄß
│ *Place :* ÄßßÖ††ÄßÄÐ
│ *Gender :* MÄLÈ
│ *Birth :* 29/12/05
│ *Hobby :* ÐÈVÈLÖþÈR
│ *Phone :* 03135812027
│ *IG ID :* †ÖXÌÇ VÌþ
│ *Status :* Single
╰═════ꪶ ཻུ۪۪ꦽꦼ̷⸙ ━ ━ ━ ━ ꪶ ཻུ۪۪ꦽꦼ̷⸙`, viz)
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment