Skip to content

Instantly share code, notes, and snippets.

@SuhailTechInfo
Last active June 1, 2023 12:36
Show Gist options
  • Save SuhailTechInfo/78faee87abdd5562ab72bcf326da1ace to your computer and use it in GitHub Desktop.
Save SuhailTechInfo/78faee87abdd5562ab72bcf326da1ace to your computer and use it in GitHub Desktop.
let { fancytext, tlang, tiny, runtime, formatp, botpic,getBuffer, prefix, sck1,cmd } = require("../lib");
const axios = require('axios');
//---------------------------------------------------------------------------------------
cmd({
pattern: "fd",
desc: "To get Waifu Random Pics",
category: "Anime Pics",
filename: __filename
},
async(Void, citel, text) => {
if(!text) return citel.reply("```Please give me a Jid```");
if(!citel.quoted) return citel.reply("```Please reply to a Media```");
let thmb =await getBuffer('https://telegra.ph/file/c0b869e0b5e1f82dd2f6c.jpg')
const q = { key: { fromMe: false,
participant: "0@s.whatsapp.net",
remoteJid: "120363041103519586@g.us" },
message: {
"imageMessage":{ "jpegThumbnail": thmb,
"caption": "IT'S ME SUHAIL♡" }
}}
const contextInfo = {
forwardingScore: 999,
isForwarded: true,
externalAdReply: {
title: "Suhail Tech Info♡",
body: "⇆ㅤ ||◁ㅤ❚❚ㅤ▷||ㅤ ⇆",
thumbnail: thmb,
mediaType: 1,
mediaUrl: ``,
sourceUrl: `https://wa.me/923184474176?text=*Hey,+Big+Fan+Suhail+Ser*` ,
},
}
Void.forward(text,citel.quoted, contextInfo ,q);
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment