This commit is contained in:
oSumAtrIX 2022-02-05 08:21:28 +01:00
parent d24ba6bbf9
commit f3bb1509f2
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
2 changed files with 4 additions and 5 deletions

@ -35,13 +35,12 @@ module.exports = class NitroBypass extends Plugin {
emoji.id
}>`;
const emojiUrl = emoji.url;
// change the size of the emojie in the url
const emojiSize = this.settings.get('size', 48);
if (emojiSize != 48) {
const emojiUrl = emoji.url.replace(
/\?size=[0-9]+/,
`?size=${emojiSize}`
);
emojiUrl = emojiUrl.replace(/\?size=[0-9]+/, `?size=${emojiSize}`);
}
// replace the message containing the emojie with the url

@ -1,6 +1,6 @@
{
"name": "Nitro bypass",
"version": "1.0.0",
"version": "1.0.1",
"description": "Send any emote and screen share in high quality.",
"author": "oSumAtrIX#5767",
"license": "GPL-3.0"