-
-
Save errorsv1/fdb4f4bd248b05871748a37f3cfeef47 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, getBuffer} = require('../lib'); | |
| /* | |
| inrl({ | |
| pattern: "mention", | |
| type: "misc", | |
| desc: external | |
| }, async (message, match) => { | |
| */ | |
| const title = " *▄︻デ☞︎𝚸𝚯𝐊𝐊𝚰𝚪𝚰 ══━*"; | |
| const body = "⇆ㅤ ||◁ㅤ❚❚ㅤ▷||ㅤ "; | |
| const thumbnail = ["https://i.imgur.com/W2Kiow3.jpeg","https://i.imgur.com/JGWh2tM.jpeg","https://i.imgur.com/ZYK8l50.jpeg","https://i.imgur.com/WqmjfZo.jpeg"]; | |
| const fileLength = 9999999999; | |
| const seconds = 99999999999; | |
| const LargeThumb = false; | |
| const SourceUrl = "https://instagram.com/4.4.4.4.4.4.4444?igshid=YzU1NGVlODEzOA=="; | |
| const waveform = [0,50,100,50,0,50,100,50,0,50,100,50,0] | |
| const vcard_name = " 𝚸𝚯𝐊𝐊𝚰𝚪𝚰 𝗦𝗜𝗥"; | |
| const number = "919497705819"; | |
| //if you need more or nay ither add it with sñdnyïn// | |
| const bgms = ["https://i.imgur.com/gv29aga.mp4", "https://i.imgur.com/8HvdglZ.mp4", "https://i.imgur.com/EfYQnb9.mp4", "https://i.imgur.com/tIehcgC.mp4", "https://i.imgur.com/VwzM3wV.mp4", "https://i.imgur.com/WKpl7eS.mp4", "https://i.imgur.com/5Wnd52w.mp4", "https://i.imgur.com/eM3RypD.mp4", "https://i.imgur.com/b5kXK5V.mp4", "https://i.imgur.com/uLG516B.mp4", "https://i.imgur.com/hP2TXKm.mp4", "https://i.imgur.com/cZggJkF.mp4", "https://i.imgur.com/RV8CnnC.mp4", "https://i.imgur.com/5N26kvL.mp4", "https://i.imgur.com/RlOinJI.mp4", "https://i.imgur.com/58OLkaJ.mp4", "https://i.imgur.com/EiHuGSL.mp4", "https://i.imgur.com/tG96OYD.mp4", "https://i.imgur.com/qOVkgkM.mp4", "https://i.imgur.com/tkEmtyt.mp4", "https://i.imgur.com/PgM9o1N.mp4", "https://i.imgur.com/WoIAAyb.mp4", "https://i.imgur.com/w8ilFA2.mp4", "https://i.imgur.com/2AioS69.mp4", "https://i.imgur.com/5NuWuit.mp4", "https://i.imgur.com/rJl3Fmc.mp4", "https://i.imgur.com/MyGVzKY.mp4", "https://i.imgur.com/58sgxxs.mp4", "https://i.imgur.com/GT48zNT.mp4", "https://i.imgur.com/M5qqOOR.mp4", "https://i.imgur.com/C6XmNBQ.mp4", "https://i.imgur.com/qybdlnH.mp4", "https://i.imgur.com/6Mo0t4S.mp4", "https://i.imgur.com/7KutCqN.mp4", "https://i.imgur.com/vY8CfI7.mp4"] | |
| let option = { | |
| fileLength, | |
| seconds, | |
| /*waveform,*/ | |
| linkPreview: { | |
| title, | |
| body, | |
| thumbnailUrl: thumbnail[Math.floor(Math.random() * thumbnail.length)], | |
| 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': undefined//await getBuffer(thumbnail[Math.floor(Math.random() * thumbnail.length)]) | |
| } | |
| } | |
| } | |
| } | |
| inrl({ | |
| on: "all",//text, image, video, audio, sticker also be use | |
| allowBot: true | |
| }, 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