fix: emojis with same name

This commit is contained in:
j4k0xb 2022-04-07 21:02:26 +02:00 committed by GitHub
parent efec65ed5b
commit b13ba4890a
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
}>`;