fix oembed

This commit is contained in:
MathMan05 2024-08-24 15:39:43 -05:00
parent a71ffa59b4
commit 1de4767c6d

View file

@ -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",