Always specify size of emoji
This commit is contained in:
parent
4a5ae1d205
commit
e2385f0404
4
index.js
4
index.js
@ -39,9 +39,7 @@ module.exports = class NitroBypass extends Plugin {
|
||||
|
||||
// change the size of the emoji in the url
|
||||
const emojiSize = this.settings.get('size', 48);
|
||||
if (emojiSize != 48) {
|
||||
url = url.replace(/\?size=[0-9]+/, `?size=${emojiSize}`);
|
||||
}
|
||||
url = url.replace(/\?size=[0-9]+/, `?size=${emojiSize}`);
|
||||
|
||||
// replace the message containing the emoji with the url
|
||||
message.content = message.content.replace(emojiString, url);
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Nitro bypass",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "Send any emote and screen share in high quality.",
|
||||
"author": "oSumAtrIX#5767",
|
||||
"license": "GPL-3.0"
|
||||
|
Loading…
Reference in New Issue
Block a user