mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
redesigned feature icons
This commit is contained in:
parent
e649128412
commit
5182eb70c7
4 changed files with 194 additions and 144 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue