mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
add discovery splashes to list of possible guild media
This commit is contained in:
parent
6fb60a5542
commit
ae0304502a
1 changed files with 5 additions and 6 deletions
|
@ -77,14 +77,13 @@ module.exports = {
|
||||||
inline: false
|
inline: false
|
||||||
})
|
})
|
||||||
|
|
||||||
if(g.banner){
|
if((g.banner || g.splash || g.discoverySplash) != undefined){
|
||||||
guildCard.image = {
|
guildCard.image = {
|
||||||
url: g.bannerUrl + "?size=4096"
|
url: (g.bannerUrl || g.splashUrl || g.discoverySplashUrl) + "?size=4096"
|
||||||
}
|
|
||||||
} else if(g.splash){
|
|
||||||
guildCard.image = {
|
|
||||||
url: g.splashUrl + "?size=4096"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: report
|
||||||
|
if(g.discoverySplashUrl) guildCard.image.url = guildCard.image.url.replace("/splashes/","/discovery-splashes/");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Guild Features
|
// Guild Features
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue