diff --git a/public/scripts/slash-commands/SlashCommandClosure.js b/public/scripts/slash-commands/SlashCommandClosure.js index b572a84c0..c20fb3f27 100644 --- a/public/scripts/slash-commands/SlashCommandClosure.js +++ b/public/scripts/slash-commands/SlashCommandClosure.js @@ -272,6 +272,8 @@ export class SlashCommandClosure { for (const executor of this.executorList) { this.onProgress?.(done, this.commandCount); this.debugController?.setExecutor(executor); + this.debugController.namedArguments = undefined; + this.debugController.unnamedArguments = undefined; yield executor; /**@type {import('./SlashCommand.js').NamedArguments} */ // @ts-ignore