From 74b52ad5e932f55278350fda73eeeeecbecc53bf Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Fri, 31 Jan 2025 01:47:45 +0100 Subject: [PATCH] fix the fix from earlier today --- commands/message/info/guild.js | 2 +- commands/message/info/invite.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" }