fix guild media check

This commit is contained in:
bignutty 2025-01-30 11:33:14 +01:00
parent 19edeaaff2
commit c19c1a83b4
2 changed files with 4 additions and 2 deletions

View file

@ -57,7 +57,7 @@ module.exports = {
fields: [],
})
if((g.banner || g.splash || g.discoverySplash) !== undefined){
if((g.banner || g.splash || g.discoverySplash) !== null){
inviteCard.image = {
url: (g.bannerUrl || g.splashUrl || g.discoverySplashUrl) + "?size=4096"
}