fix oembed
This commit is contained in:
5
index.js
5
index.js
@@ -72,7 +72,9 @@ async function inviteres(req,res){
|
|||||||
thumbnail=`${urls.cdn}/icons/${json.guild.id}/${json.guild.icon}.png`;
|
thumbnail=`${urls.cdn}/icons/${json.guild.id}/${json.guild.icon}.png`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const json={type:"link",
|
const json={
|
||||||
|
type:"link",
|
||||||
|
version:"1.0",
|
||||||
title,
|
title,
|
||||||
thumbnail,
|
thumbnail,
|
||||||
description,
|
description,
|
||||||
@@ -82,6 +84,7 @@ async function inviteres(req,res){
|
|||||||
console.error(e);
|
console.error(e);
|
||||||
const json={
|
const json={
|
||||||
type:"link",
|
type:"link",
|
||||||
|
version:"1.0",
|
||||||
title:"Jank Client",
|
title:"Jank Client",
|
||||||
thumbnail:"/logo.webp",
|
thumbnail:"/logo.webp",
|
||||||
description:"A spacebar client that has DMs, replying and more",
|
description:"A spacebar client that has DMs, replying and more",
|
||||||
|
Reference in New Issue
Block a user