Skip to content

Commit

Permalink
real
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico040 committed May 14, 2024
1 parent ccfef9b commit ec96c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/freemoji/src/msgProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
Expand Down

0 comments on commit ec96c9d

Please sign in to comment.