mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add double pipe a pipe breaker
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user