diff --git a/README.md b/README.md index caf07ef3e..b759eb375 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ An enhanced version of [Vencord](https://github.com/Vendicated/Vencord) by [Vend - AllCallTimers by MaxHerbold and D3SOX - AltKrispSwitch by newwares -- Annamox by Kyuuhachi +- Anammox by Kyuuhachi - BetterActivities by D3SOX, Arjix, AutumnVN - BetterQuests by kvba - BetterQuickReact by Ven and Sqaaakoi diff --git a/src/equicordplugins/annamox/index.ts b/src/equicordplugins/annamox/index.ts index b770278a6..abf8034c6 100644 --- a/src/equicordplugins/annamox/index.ts +++ b/src/equicordplugins/annamox/index.ts @@ -87,7 +87,7 @@ export default definePlugin({ predicate: () => settings.store.gift, }, { // Emoji list - find: /\i\.\i\i\.getEmojiUnavailableReason/, + find: /\.filter\(\i=>\i\.\i\i\.getEmojiUnavailableReason/, replacement: { match: /(\w+)=!\w+&&\w+.\i.isEmojiCategoryNitroLocked\(\{[^}]*\}\);/, replace: "$&$1||"