From 2c04ceb86a8b85b3dd65dac47dbdfaf253ec618d Mon Sep 17 00:00:00 2001 From: KaweeX <88151250+Kaweeshachamodx@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:10:39 +0530 Subject: [PATCH] =?UTF-8?q?[=20Jessi-md=204.8.5=20=E2=8F=B1=EF=B8=8F=20]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/tool-tourl.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/tool-tourl.js b/plugins/tool-tourl.js index 8a6a7d0a..a112064c 100644 --- a/plugins/tool-tourl.js +++ b/plugins/tool-tourl.js @@ -12,18 +12,18 @@ let name = await conn.getName(who) let media = await q.download() let isTele = /image\/(png|jpe?g|gif)|video\/mp4/.test(mime) let link = await (isTele ? uploadImage : uploadFile)(media) - let caption = `📮 *L I N K :* + let caption = `> 𝗟𝗶𝗻𝗸 : ${link} -📊 *S I Z E :* ${media.length} Byte -📛 *E x p i r e d :* ${isTele ? 'No Expiry Date' : 'Unknown'} +> 𝗦𝗶𝘇𝗲 : ${media.length} Byte +> 𝗘𝘅𝗽𝗶𝗿𝗲 : ${isTele ? 'No Expiry Date' : 'Unknown'} -*S H O R T :* ${await shortUrl(link)}` +> 𝗦𝗵𝗼𝗿𝘁 : ${await shortUrl(link)}` conn.reply(m.chat, caption, m, { contextInfo: { externalAdReply :{ - mediaUrl: sgh, + mediaUrl: pp, mediaType: 2, - title: wm, + title: await shortUrl(link), body: botdate, thumbnail: await(await fetch(link)).buffer(), sourceUrl: link