fix: emojis with same name
This commit is contained in:
parent
efec65ed5b
commit
b13ba4890a
2
index.js
2
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
|
||||
}>`;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user