guildinfo: this never happened until now bruh

This commit is contained in:
Cynthia Foxwell 2025-04-22 14:48:48 -06:00
parent 791288055b
commit a633b0fa85
Signed by: Cynosphere
SSH key fingerprint: SHA256:H3SM8ufP/uxqLwKSH7xY89TDnbR9uOHzjLoBr0tlajk

View file

@ -582,10 +582,10 @@ guildinfo.callback = async function (msg, line, args, {nolocal, debug}) {
images.push(`[Icon](${embed.thumbnail.url})`); images.push(`[Icon](${embed.thumbnail.url})`);
} }
if (invite?.guild?.splash) { if (invite?.guild?.splash) {
images.push(`[Invite Splash](${CDNEndpoints.GUILD_SPLASH(guild.id, guild.splash)})`); images.push(`[Invite Splash](${CDNEndpoints.GUILD_SPLASH(guild.id, invite.guild.splash)})`);
} }
if (invite?.guild?.banner) { if (invite?.guild?.banner) {
images.push(`[Banner](${CDNEndpoints.BANNER(guild.id, guild.banner)})`); images.push(`[Banner](${CDNEndpoints.BANNER(guild.id, invite.guild.banner)})`);
} }
if (images.length > 0) { if (images.length > 0) {