fix oembed
This commit is contained in:
parent
a71ffa59b4
commit
1de4767c6d
1 changed files with 4 additions and 1 deletions
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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue