From 1636b2958399a72bd8ab243c87a04d34cdf92383 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sun, 9 Apr 2023 11:28:00 -0600 Subject: [PATCH] utility.linvite: fix animated banner links --- src/modules/utility.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/utility.js b/src/modules/utility.js index 28bd868..afd1a29 100644 --- a/src/modules/utility.js +++ b/src/modules/utility.js @@ -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,