diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index c7dafd1..dbd8079 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -77,14 +77,13 @@ module.exports = { inline: false }) - if(g.banner){ + if((g.banner || g.splash || g.discoverySplash) != undefined){ guildCard.image = { - url: g.bannerUrl + "?size=4096" - } - } else if(g.splash){ - guildCard.image = { - url: g.splashUrl + "?size=4096" + url: (g.bannerUrl || g.splashUrl || g.discoverySplashUrl) + "?size=4096" } + + // TODO: report + if(g.discoverySplashUrl) guildCard.image.url = guildCard.image.url.replace("/splashes/","/discovery-splashes/"); } // Guild Features