Merge pull request #3 from j4k0xb/main

fix: emojis with same name
This commit is contained in:
oSumAtrIX 2022-04-07 23:44:29 +02:00 committed by GitHub
commit 8855361e38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
}>`;