diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index 1d68544..7672675 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -77,7 +77,7 @@ module.exports = { inline: false }) - if((g.banner || g.splash || g.discoverySplash) !== null){ + if((g.banner || g.splash || g.discoverySplash)){ guildCard.image = { url: (g.bannerUrl || g.splashUrl || g.discoverySplashUrl) + "?size=4096" } diff --git a/commands/message/info/invite.js b/commands/message/info/invite.js index e47ee3e..4f0e38b 100644 --- a/commands/message/info/invite.js +++ b/commands/message/info/invite.js @@ -57,7 +57,7 @@ module.exports = { fields: [], }) - if((g.banner || g.splash || g.discoverySplash) !== null){ + if((g.banner || g.splash || g.discoverySplash)){ inviteCard.image = { url: (g.bannerUrl || g.splashUrl || g.discoverySplashUrl) + "?size=4096" }