Skip to content

Instantly share code, notes, and snippets.

@7012887603
Forked from sksbot7/mention.js
Last active July 9, 2025 22:13
Show Gist options
  • Save 7012887603/fb9e6728e401c7b2984b023474ff6125 to your computer and use it in GitHub Desktop.
Save 7012887603/fb9e6728e401c7b2984b023474ff6125 to your computer and use it in GitHub Desktop.
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