utility.linvite: fix animated banner links
This commit is contained in:
parent
b313bb9f45
commit
1636b29583
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue