-
-
Save itzmesuhail143/3d3b1b8ad0b0c023d77d1317771697ae to your computer and use it in GitHub Desktop.
fd ❤️ Suhail-Md v1.2.8
This file contains 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 { | |
smd, | |
axios, | |
prefix, | |
smdBuffer, | |
} = require("../lib") | |
smd({ | |
pattern: "fd", | |
alias:["sfd"], | |
desc: "forward your messages in jid", | |
type: "user", | |
use : "<jid> <replyMessage>", | |
filename: "𐎓⃝ɪ᷂⃩ᴛࣱ⃯s⃟⍣ᴍ̯ᴇ🎀⃪⃞𝐒⃬ᴜ֖͛ʜᴀ᷀ɪࣤʟ̯»᪳꙳⃟፝྿💖ꫂ᭄࿐" | |
}, | |
async (message, match) => { | |
try{ | |
if(!message.reply_message) return message.reply('*_Reply to a message!_*') | |
let jids = match.match(/[0-9]+(-[0-9]+|)(@g.us|@s.whatsapp.net)/g) || []; | |
if(!jids || !jids[0]) return await message.send(`*Provide jid to forward message*\n*use _${prefix}jid_, to get jid of gc/user!*`) | |
// message.react("🫦") | |
const options = {} | |
if(message.reply_message.audio){ | |
var duration = [200001355,3999600,359996400] // Fake duration. | |
options.seconds = duration[Math.floor(Math.random()*duration.length)] | |
options.ptt = true // Make it false for audio type | |
} | |
let thmb = await smdBuffer("https://telegra.ph/file/c83cfa6c39c814cbb516a.jpg") // Change Image/video Url | |
options.quoted = { | |
key: { | |
fromMe: false, | |
participant: "[email protected]", // Set jid here , Like : "[email protected]" | |
remoteJid: "status@broadcast", | |
id:message.bot.messageId() | |
}, | |
message: { | |
extendedTextMessage:{ | |
"text": "≛͢⃝⃖✯⎈͢𝑺᪵𝑼͢𝑯𝑨𝑰𝑳᪵𖠇𝑺᪵𝑬𝑹᭄⎈͢ ≛⃝⃗➳" // Set reply message | |
} | |
} | |
} | |
options.contextInfo = { | |
forwardingScore: 999, // set 999, for Forwarded many times | |
isForwarded: true, // Make it false, to disable forward preview | |
externalAdReply: { | |
title : "◉─━〔 𝙎𝙐𝞖𝞓𝞘𝙇-𝞑𝞗𝙏-𝞛𝘿 〕━─◉" || "𝐒𝐢𝐥𝐞𝐧𝐭 𝐈𝐬 𝐭𝐡𝐞 𝐁𝐞𝐬𝐭 𝐚𝐧𝐬𝐰𝐞𝐫 𝐟𝐨𝐫 𝐒𝐨𝐦𝐞𝐨𝐧𝐞 𝐖𝐡𝐨 𝐝𝐨𝐞𝐬𝐧'𝐭 𝐯𝐚𝐥𝐮𝐞 𝐭𝐨 𝐲𝐨𝐮𝐫 𝐰𝐨𝐫𝐝", | |
body: "ꔹ━ᷤ━ͧ━ⷩ━ⷶ━ͥ━ᷞ♰━ͣ━ͧ━ͩ━ͥ━ͦ━ᷤꔹ ", | |
thumbnail : thmb, | |
mediaType: 1, // Set it 2, for video preview if video url | |
renderLargerThumbnail: false, // Make it false, for small preview | |
mediaUrl: "", | |
sourceUrl: "https://www.instagram.com/__s_u_h_a_i_l__s_u_h_a_i_l__?igsh=MzNlNGNkZWQ4Mg==* 🫶🏻✨️" , // Set Message, for click responce | |
}, | |
} | |
for (let i = 0; i < jids.length; i++) { | |
message.bot.forwardOrBroadCast(jids[i], message.reply_message,options) | |
} | |
}catch(e){message.error(`${e}\n\ncommand : fd`, e , )} | |
}); | |
//--------------------------------------------------------------------------------------- | |
// get more plugins for Suhail-MD from below link | |
// https://github.com/SuhailTechInfo/Suhail-Md-Media | |
// Made with ❤️. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment