From 1611b4e15bfbd74e3da339236d3231145335d8da Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:50:57 -0500 Subject: [PATCH] Fix Reporter Stable Crashing --- src/equicordplugins/_api/audioPlayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/equicordplugins/_api/audioPlayer.ts b/src/equicordplugins/_api/audioPlayer.ts index e9e0d1906..e79227b39 100644 --- a/src/equicordplugins/_api/audioPlayer.ts +++ b/src/equicordplugins/_api/audioPlayer.ts @@ -24,7 +24,7 @@ export default definePlugin({ // Uses the audio as-is if external, otherwise checks for an internal Discord sound. // Also force loads the internal sounds module to account for the second patch group below, // as well as accounting for not calling the module in this patch when this.type is not DISCORD. - match: /(let \i=class.{0,900}?new Audio;\i.src=)((\i\(\d+\))\(`\.\/\$\{)this.name(\}\.mp3`\))/, + match: /(let \i=class.{0,900}?new Audio;\i.src=)((\i\(\d+\))(?:\(`\.\/\$\{|.{0,50}concat\())this.name((?:\}\.mp3`|,".mp3"\))\))/, replace: "$3;$1this.type!==$self.AudioType.DISCORD?this.audio:$2this.audio$4" }, {