Last active
June 1, 2023 12:36
-
-
Save SuhailTechInfo/78faee87abdd5562ab72bcf326da1ace to your computer and use it in GitHub Desktop.
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
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: "[email protected]", | |
remoteJid: "[email protected]" }, | |
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