Skip to content

Commit

Permalink
[ Jessi-md 4.8.5 ⏱️ ]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaweeshachamodx authored Jan 30, 2024
1 parent 1e994a4 commit 2c04ceb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/tool-tourl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c04ceb

Please sign in to comment.