utility.linvite: fix animated banner links

This commit is contained in:
Cynthia Foxwell 2023-04-09 11:28:00 -06:00
parent b313bb9f45
commit 1636b29583
1 changed files with 5 additions and 1 deletions

View File

@ -422,7 +422,11 @@ lookupinvite.callback = async function (msg, line) {
invite.guild.icon || invite.guild.splash ? " | " : ""
}[Banner](${BANNER_BASE}${invite.guild.id}/${
invite.guild.banner
}.png?size=2048)`
}${
invite.guild.banner.startsWith("a_")
? "gif?size=1024"
: "png?size=1024"
})`
: ""
}`,
inline: false,