Giter Site home page Giter Site logo

const { Function, getBuffer } = require('../lib/') const { generateWAMessage, proto } = require('@adiwajshing/baileys'); const image = 'https://i.imgur.com/AXtC7iH.jpeg' //MAIN IMAGE URL HERE const logo = 'https://i.imgur.com/53kpmax.jpeg'

Function( { pattern: 'intro ?(.)', fromMe: true, desc: 'Shows My Intro', type: 'misc', }, async (message, match) => { const jid = message.jid const number = message.client.user.jid const thumb = await getBuffer(image) const thumbnail = await getBuffer(logo) const options = {} options.contextInfo = { forwardingScore: 999, // change it to 999 for many times forwarded isForwarded: false, } // ADDED / TO REMOVE LINK PREVIEW TYPE options.linkPreview = { renderLargerThumbnail: true, showAdAttribution: true, title: "𝞛𝞓𝙎𝞙 𝙎𝞝𝗥", body: "ᴄʟɪᴄᴋ ʜᴇʀᴇ 🦋 !!", mediaType: 1, thumbnail: thumb, sourceUrl: "http://wa.me/918136962641?text=_៚ʜᴇʟʟᴏ+ᴍᴀsᴋ+sᴇʀ+ʙɪɢ+ғᴀɴ+ᴠʀᴏ+🪄_" } // ADDED */ TO REMOVE LINK PREVIEW TYPE options.quoted = { key: { fromMe: false, participant: "[email protected]", remoteJid: "status@broadcast" }, message: { 'contactMessage': { 'displayName': ${message.pushName}, //ADD ${message.client.user.name} TO DISPLAY CLIENT USER NAME. '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 } } }

let messages = await generateWAMessage(message.jid, { text: 0ཻུ۪۪ꦽꦼ̷⸙‹•══════════════♡᭄ │ *「 𝗠𝗬 𝗜𝗡𝗧𝗥𝗢 」* │ *Name :* 𝙼𝙰𝚂𝙺 𝚂𝙴𝚁 │ *Place :* ᴋᴇʀᴀʟᴀ │ *Gender :* ᴍᴀʟᴇ │ *Age :* 1_ │ *Phone :* wa.me/687823333 │ *IG ID :* mask_ser │ *Status :* _ ╰═════ꪶ ཻུ۪۪ꦽꦼ̷⸙ ━ ━ ━ ━ ꪶ ཻུ۪۪ꦽꦼ̷⸙}, {quoted: message.quoted || ''})

await message.client.forwardMessage(message.jid, await proto.WebMessageInfo.fromObject(messages), options)

}

);

poppy50's Projects

alphabot-md icon alphabot-md

Base bot WhatsApp multi device / multi perangkat menggunakan lib / api baileys-md. Give star 🌠⭐🌟

chika-md icon chika-md

Bot WhatsApp multi device / multi perangkat menggunakan lib / api baileys-md. Give star ⭐

hermit-md icon hermit-md

Hermit-md - Simple whatsapp Multi Device bot based on @adiwajshing/baileys

poppy50 icon poppy50

Config files for my GitHub profile.

v3 icon v3

Script bot RyuBotzS2 Create By RyuukaBotz / YdzAja

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.