redesigned feature icons

This commit is contained in:
derpystuff 2024-04-06 13:40:26 +02:00
parent e649128412
commit 5182eb70c7
4 changed files with 194 additions and 144 deletions

View file

@ -75,11 +75,11 @@ module.exports = {
if(g.banner){
guildCard.image = {
url: `https://cdn.discordapp.com/banners/${g.id}/${g.banner}.png?size=4096`
url: g.bannerUrl + "?size=4096"
}
} else if(g.splash){
guildCard.image = {
url: `https://cdn.discordapp.com/splashes/${g.id}/${g.banner}.png?size=4096`
url: g.splashUrl + "?size=4096"
}
}

View file

@ -59,7 +59,11 @@ module.exports = {
if(g.splash){
inviteCard.image = {
url: `https://cdn.discordapp.com/splashes/${g.id}/${g.splash}.png?size=4096`
url: g.splashUrl + "?size=4096"
}
} else if(g.banner){ // if no splash exists, check the banner
inviteCard.image = {
url: g.bannerUrl + "?size=4096"
}
}