fix macros in scope copy

This commit is contained in:
LenAnderson 2024-04-16 16:46:47 -04:00
parent b68d5d922d
commit 63e88bc016
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ export class SlashCommandScope {
const scope = new SlashCommandScope(this.parent);
scope.variableNames = [...this.variableNames];
scope.variables = Object.assign({}, this.variables);
scope.macros = this.macros;
scope.macros = Object.assign({}, this.macros);
scope.#pipe = this.#pipe;
return scope;
}