From 164db5bfa5ebdc3d40a423d3bfb34ab5061a84ba Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 21 Jun 2024 20:42:13 -0400 Subject: [PATCH] Anammox Fix a Patch --- README.md | 2 +- src/equicordplugins/annamox/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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||"