From a4bdfd8f4c9510609b7d5539f3e441393c790ca5 Mon Sep 17 00:00:00 2001 From: Spicy_Marinara Date: Tue, 14 Oct 2025 21:10:51 +0200 Subject: [PATCH] Fix regex module import paths - remove duplicate /scripts/ in path --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index d1b4221..eb2db0b 100644 --- a/index.js +++ b/index.js @@ -3230,7 +3230,7 @@ function onMessageSwiped(messageIndex) { async function ensureHtmlCleaningRegex() { try { // Import the regex engine to check existing scripts - const { getRegexScripts } = await import('../../../scripts/extensions/regex/engine.js'); + const { getRegexScripts } = await import('../../regex/engine.js'); const existingScripts = getRegexScripts(); // Check if the HTML cleaning regex already exists @@ -3243,7 +3243,7 @@ async function ensureHtmlCleaningRegex() { } // Import the regex index to use the import function - const regexModule = await import('../../../scripts/extensions/regex/index.js'); + const regexModule = await import('../../regex/index.js'); // Create the regex script object based on the attached file const regexScript = {