fix DebugController retaining previous named and unnamed args
This commit is contained in:
parent
8cb31d2f7b
commit
971f2cacb9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue