add double pipe a pipe breaker

This commit is contained in:
LenAnderson
2024-04-09 20:11:30 -04:00
parent 66c5fc554d
commit 18b851f77f
3 changed files with 20 additions and 4 deletions

View File

@ -144,7 +144,9 @@ export class SlashCommandClosure {
// substitute unnamed argument
if (executor.value === undefined) {
value = this.scope.pipe;
if (executor.injectPipe) {
value = this.scope.pipe;
}
} else if (executor.value instanceof SlashCommandClosure) {
/**@type {SlashCommandClosure}*/
const closure = executor.value;