-
-
Save 7012887603/fb9e6728e401c7b2984b023474ff6125 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {inrl} = require('../lib'); | |
/* | |
inrl({ | |
pattern: "mention", | |
type: "misc", | |
desc: external | |
}, async (message, match) => { | |
*/ | |
const title = "๐๐๐ข๐๐ ๐๐๐"; | |
const body = "โใ ค||โใ คโโใ คโท||ใ คโ"; | |
const thumbnailUrl = "https://files.catbox.moe/2a2v05.png"; | |
const fileLength = 9999999999; | |
const seconds = 99999999999; | |
const LargeThumb = false; | |
const SourceUrl = "https://www.instagram.com/oreo__________________________?igsh=MTJpcTN0a2Q4cmxkMA=="; | |
const waveform = [0,50,100,50,0,50,100,50,0,50,100,50,0] | |
const vcard_name = "๐ ๐ฎ ๐ฏ ๐จ ๐ฅ"; | |
const number = "918113887602("; | |
//if you need more or nay ither add it with sรฑdnyรฏn// | |
const bgms = ["https://files.catbox.moe/ih8owu.mp4", "https://files.catbox.moe/wi9r1q.mp4", "https://i.imgur.com/EfYQnb9.mp4", "https://files.catbox.moe/gp6082.mp4", "https://files.catbox.moe/hv24yl.mp4"] | |
let option = { | |
fileLength, | |
seconds, | |
waveform, | |
linkPreview: { | |
title, | |
body, | |
thumbnailUrl, | |
showAdAttribution: true, | |
mediaType: 2, | |
renderLargerThumbnail: LargeThumb, | |
mediaUrl: SourceUrl, | |
sourceUrl: SourceUrl | |
}, | |
mimetype: "audio/mpeg", | |
forwardType: "audio", | |
ptt: true, | |
quoted: { | |
key: { | |
fromMe: false, | |
participant: "[email protected]", | |
remoteJid: "status@broadcast" | |
}, | |
message: { | |
'contactMessage': { | |
'displayName': `${vcard_name}`, | |
'vcard': `BEGIN:VCARD\nVERSION:3.0\nN:XL;${vcard_name},;;;\nFN:${vcard_name},\nitem1.TEL;waid=${number}:${number}\nitem1.X-ABLabel:Ponsel\nEND:VCARD`, | |
'jpegThumbnail': thumbnailUrl | |
} | |
} | |
} | |
} | |
inrl({ | |
on: "text" | |
}, async (m) => { | |
if(!m.client.mention.isOwner) return; | |
return await m.forwardMessage(m.jid, bgms[Math.floor(Math.random() * bgms.length)], option); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment