Skip to content

Instantly share code, notes, and snippets.

@sksbot7
Forked from zailio/intro(inrl).js
Last active October 22, 2023 04:46
Show Gist options
  • Select an option

  • Save sksbot7/741333b126547c02c11246e0474e23a7 to your computer and use it in GitHub Desktop.

Select an option

Save sksbot7/741333b126547c02c11246e0474e23a7 to your computer and use it in GitHub Desktop.
const { inrl, getBuffer } = require('../lib/')
const image = 'https://i.imgur.com/SnQh3tn.jpeg' //MAIN IMAGE URL HERE
const logo = 'https://telegra.ph/file/b1a153ed50e122440e8bb.jpg'
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ᷤ ᴍͫᴇͤ ⏤͟͞ꪶ SY4M ꫂ⛧͢",
body: "ᴄʟɪᴄᴋ ʜᴇʀᴇ ᴛᴏ ᴳᵉᵗ🫂 !",
mediaType: 1,
thumbnail: thumb,
sourceUrl: "http://wa.me/919888280858?text=_៚ʜᴇʟʟᴏ+ᴠɪᴢ+ᴢᴇʀ+🪄_"
}
return await message.forwardMessage(message.from,`0ཻུ۪۪ꦽꦼ̷⸙‹•══════════════♡᭄
│ *「 𝗠𝗬 𝗜𝗡𝗧𝗥𝗢 」*
│ *Name :* ꪶSYAMꫂ
│ *Place :* ᵏᵉʳᵃˡᵃ
│ *Gender :* Male
│ *Age :*17
│ *Phone :* ⁺⁹¹ ⁸⁹²¹⁶⁰²⁸⁵⁰
│ *IG ID :* _sks_bot_ㅤ
│ *Status :* 🙂❤️
╰═════ꪶ ཻུ۪۪ꦽꦼ̷⸙ ━ ━ ━ ━ ꪶ ཻུ۪۪ꦽꦼ̷⸙`, viz)
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment