mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#1728 Missed one
This commit is contained in:
@ -1562,7 +1562,7 @@ async function executeSlashCommands(text, unescape = false) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (typeof unnamedArg === 'string' && /{{pipe}}/i.test(unnamedArg)) {
|
if (typeof unnamedArg === 'string' && /{{pipe}}/i.test(unnamedArg)) {
|
||||||
unnamedArg = unnamedArg.replace(/{{pipe}}/i, pipeResult || '');
|
unnamedArg = unnamedArg.replace(/{{pipe}}/i, pipeResult ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
pipeResult = await result.command.callback(result.args, unnamedArg);
|
pipeResult = await result.command.callback(result.args, unnamedArg);
|
||||||
|
Reference in New Issue
Block a user