From b13ba4890a0c2bc95869c1845a10a92a0b5a25a3 Mon Sep 17 00:00:00 2001 From: j4k0xb <55899582+j4k0xb@users.noreply.github.com> Date: Thu, 7 Apr 2022 21:02:26 +0200 Subject: [PATCH] fix: emojis with same name --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 8aa48d4..8d000ae 100644 --- a/index.js +++ b/index.js @@ -39,7 +39,7 @@ module.exports = class NitroBypass extends Plugin { if (!emoji.require_colons) return; // create the emoji string which we will replace - const emojiString = `<${emoji.animated ? 'a' : ''}:${emoji.name}:${ + const emojiString = `<${emoji.animated ? 'a' : ''}:${emoji.originalName || emoji.name}:${ emoji.id }>`;