From c11a0df61968f85af81a08e90936b48edc86f35b Mon Sep 17 00:00:00 2001 From: LenAnderson Date: Sat, 20 Apr 2024 08:31:19 -0400 Subject: [PATCH] fix cutting off handled part in substitution --- public/scripts/slash-commands/SlashCommandClosure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/slash-commands/SlashCommandClosure.js b/public/scripts/slash-commands/SlashCommandClosure.js index 67cc9e380..a6c10cbc2 100644 --- a/public/scripts/slash-commands/SlashCommandClosure.js +++ b/public/scripts/slash-commands/SlashCommandClosure.js @@ -54,7 +54,7 @@ export class SlashCommandClosure { } break; } else { - done = `${before}${replacer}`; + done = `${done}${before}${replacer}`; remaining = after; } }