Skip to content

Instantly share code, notes, and snippets.

@Abhisirwabotofc
Created January 29, 2022 05:13
Show Gist options
  • Save Abhisirwabotofc/a2d1157743ae7647c9480f9eb5f71c2c to your computer and use it in GitHub Desktop.
Save Abhisirwabotofc/a2d1157743ae7647c9480f9eb5f71c2c to your computer and use it in GitHub Desktop.
owner
const hyper = require("../Utilis/events");
let {MessageType, MessageOptions, Mimetype} = require('@adiwajshing/baileys')
const { getBuffer } = require('../Utilis/download');
//Owner vcard by favas
hyper.addCommand( //by favas...
{ pattern: "owner ?(.*)", fromMe: true, desc: "send owner vcard" },
async (message, match) => {
const vcard = 'https://i.imgur.com/TFVIDhj.jpeg'
const favas = 'BEGIN:VCARD\n'
+ 'VERSION:3.0\n'
+ 'FN:π—•πŸ¬π—§-πŸ°π—–π—›π—¨\n'//dont copy without credits ⚠️
+ 'ORG:π—•πŸ¬π—§-πŸ°π—–π—›π—¨\n'
+ 'TEL;type=CELL;type=VOICE;waid=919656432620:919656432620\n'
+ 'END:VCARD'
const buff = await getBuffer(vcard)
await message.client.sendMessage(message.jid, {displayname: "π—•πŸ¬π—§-πŸ°π—–π—›π—¨", vcard: favas}, MessageType.contact,{quoted : {
key: {
fromMe: false,
participant: "[email protected]",
remoteJid: "status@broadcast"
}, //Vcard sender by favas
message: {
"imageMessage": {
"jpegThumbnail": buff.buffer,
"caption": "️️Ιͺα΄›α΄’-ᴍᴇ ͒ʙᴏᴛ α΄€α΄„Κœα΄œ"
}
}
}})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment