From 1de4767c6d7f70dfa9bbab727df3353254ee491b Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Sat, 24 Aug 2024 15:39:43 -0500 Subject: [PATCH] fix oembed --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 34e1982..a8af0a5 100755 --- a/index.js +++ b/index.js @@ -72,7 +72,9 @@ async function inviteres(req,res){ thumbnail=`${urls.cdn}/icons/${json.guild.id}/${json.guild.icon}.png`; } }); - const json={type:"link", + const json={ + type:"link", + version:"1.0", title, thumbnail, description, @@ -82,6 +84,7 @@ async function inviteres(req,res){ console.error(e); const json={ type:"link", + version:"1.0", title:"Jank Client", thumbnail:"/logo.webp", description:"A spacebar client that has DMs, replying and more",