mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-07 21:53:07 -04:00
fix guild media check
This commit is contained in:
parent
19edeaaff2
commit
c19c1a83b4
2 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue