From b094b1f0dbc203bc4bec3b7648db21fa907be1d1 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:46:53 -0500 Subject: [PATCH] Anammox: Fix Patches & Update Description --- src/equicordplugins/anammox/index.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/anammox/index.ts b/src/equicordplugins/anammox/index.ts index 87731a054..79983aefb 100644 --- a/src/equicordplugins/anammox/index.ts +++ b/src/equicordplugins/anammox/index.ts @@ -15,6 +15,12 @@ export const settings = definePluginSettings({ description: "Remove shops above DMs list", restartNeeded: true, }, + quests: { + type: OptionType.BOOLEAN, + default: false, + description: "Remove quests above DMs list", + restartNeeded: true, + }, serverBoost: { type: OptionType.BOOLEAN, default: true, @@ -43,7 +49,7 @@ export const settings = definePluginSettings({ export default definePlugin({ name: "Anammox", - description: "A microbial process that plays an important part in the nitrogen cycle", + description: "Hides various features related to nitro and the store", authors: [Devs.Kyuuhachi], settings, @@ -53,15 +59,21 @@ export default definePlugin({ find: 'tutorialId:"direct-messages"', replacement: [ { - match: /NAVIGATION_LINK\}\}\}\)(?=,\i(&&\(|\]))/, + match: /"nitro-tab-group"\)/, replace: "$&&&undefined", + predicate: () => settings.store.dms }, { - match: /NAVIGATION_LINK\}\}\}.{0,20}\)(?=,\i&&!\i)/, + match: /"discord-shop"\)/, replace: "$&&&undefined", + predicate: () => settings.store.dms + }, + { + match: /"quests"\)/, + replace: "$&&&undefined", + predicate: () => settings.store.quests }, ], - predicate: () => settings.store.dms, }, { // Above DMs, keyboard nav