diff --git a/plugins/freemoji/src/Settings.tsx b/plugins/freemoji/src/Settings.tsx index 2e8cfcc..0031592 100644 --- a/plugins/freemoji/src/Settings.tsx +++ b/plugins/freemoji/src/Settings.tsx @@ -10,6 +10,7 @@ const sizeOptions = { Tiny: 16, Small: 32, Medium: 48, + Big: 56, Large: 64, Huge: 96, Jumbo: 128, @@ -61,4 +62,4 @@ export default () => { ) -} \ No newline at end of file +} diff --git a/plugins/freemoji/src/msgProcessor.ts b/plugins/freemoji/src/msgProcessor.ts index fde1351..50d6c46 100644 --- a/plugins/freemoji/src/msgProcessor.ts +++ b/plugins/freemoji/src/msgProcessor.ts @@ -29,7 +29,7 @@ function extractUnusableEmojis(messageString: string, size: number) { if (storage.hyperlink === true) { 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}`); + emojiUrls.push(`https://cdn.discordapp.com/emojis/${emojiString[2]}.${ext}?size=${size}&quality=lossless&name=${emojiString[1]}`); } } } @@ -59,4 +59,4 @@ export default function modifyIfNeeded(msg: Message) { // Set invalidEmojis to empty to prevent Discord yelling to you about you not having nitro msg.invalidEmojis = []; -}; \ No newline at end of file +};