mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 20:57:43 +01:00
#1728 Missed one
This commit is contained in:
parent
1ae5a8bd66
commit
6ff998816d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user