diff --git a/commands/message/info/guild.js b/commands/message/info/guild.js index dd326a4..d8fdc90 100644 --- a/commands/message/info/guild.js +++ b/commands/message/info/guild.js @@ -66,6 +66,16 @@ module.exports = { inline: true }) + if(g.banner){ + guildCard.image = { + url: `https://cdn.discordapp.com/banners/${g.id}/${g.banner}.png?size=4096` + } + } else if(g.splash){ + guildCard.image = { + url: `https://cdn.discordapp.com/splashes/${g.id}/${g.banner}.png?size=4096` + } + } + // Guild Features if(g.features.length >= 1){ diff --git a/commands/message/info/invite.js b/commands/message/info/invite.js index de676ba..98b8fcd 100644 --- a/commands/message/info/invite.js +++ b/commands/message/info/invite.js @@ -48,7 +48,7 @@ module.exports = { if(g.splash){ inviteCard.image = { - url: `https://cdn.discordapp.com/splashes/519734247519420438/${g.splash}.png?size=4096` + url: `https://cdn.discordapp.com/splashes/${g.id}/${g.splash}.png?size=4096` } }