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

View file

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