mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-20 14:10:39 +01:00
fix return for /run with closure
This commit is contained in:
parent
b74600605c
commit
956a676390
@ -1819,7 +1819,7 @@ async function runCallback(args, name) {
|
||||
}
|
||||
|
||||
if (name instanceof SlashCommandClosure) {
|
||||
return await name.execute();
|
||||
return (await name.execute())?.pipe;
|
||||
}
|
||||
|
||||
/**@type {SlashCommandScope} */
|
||||
|
Loading…
x
Reference in New Issue
Block a user