diff --git a/components/settings.jsx b/components/settings.jsx index 26d25ee..d06b36f 100644 --- a/components/settings.jsx +++ b/components/settings.jsx @@ -10,7 +10,7 @@ module.exports = class NitroBypassSettings extends React.Component { return ( <> `; - const emojiUrl = emoji.url; + let url = emoji.url; // change the size of the emojie in the url const emojiSize = this.settings.get('size', 48); if (emojiSize != 48) { - emojiUrl = emojiUrl.replace(/\?size=[0-9]+/, `?size=${emojiSize}`); + url = url.replace(/\?size=[0-9]+/, `?size=${emojiSize}`); } // replace the message containing the emojie with the url - message.content = message.content.replace(emoteString, emojiUrl); + message.content = message.content.replace(emoteString, url); }); return args; diff --git a/manifest.json b/manifest.json index a0a2eee..e5e1ac3 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "Nitro bypass", - "version": "1.0.1", + "version": "1.0.2", "description": "Send any emote and screen share in high quality.", "author": "oSumAtrIX#5767", "license": "GPL-3.0"