From ec96c9da9473ae06a922cc6764adb83d96d80e6a Mon Sep 17 00:00:00 2001 From: Rico040 <93081680+Rico040@users.noreply.github.com> Date: Tue, 14 May 2024 17:58:39 +1000 Subject: [PATCH] real --- plugins/freemoji/src/msgProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/freemoji/src/msgProcessor.ts b/plugins/freemoji/src/msgProcessor.ts index 76e9511..58ad02f 100644 --- a/plugins/freemoji/src/msgProcessor.ts +++ b/plugins/freemoji/src/msgProcessor.ts @@ -27,7 +27,7 @@ function extractUnusableEmojis(messageString: string, size: number) { var ext = "webp" if (emoji.animated){ ext = "gif"; } if (storage.hyperlink === true) { - emojiUrls.push(`[:${emojiString[1]}:](https://cdn.discordapp.com/emojis/${emojiString[2]}.${ext}?size=${size})`); + emojiUrls.push(`[${emojiString[1]}](https://cdn.discordapp.com/emojis/${emojiString[2]}.${ext}?size=${size}&quality=lossless&name=${emojiString[1]})`); } else { emojiUrls.push(`https://cdn.discordapp.com/emojis/${emojiString[2]}.${ext}?size=${size}`); }