mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-10 00:50:11 +01:00
add BreakController to /run closure
This commit is contained in:
parent
80879e0c51
commit
0d75ca9a5d
@ -1834,6 +1834,7 @@ async function runCallback(args, name) {
|
||||
}
|
||||
|
||||
if (name instanceof SlashCommandClosure) {
|
||||
name.breakController = new SlashCommandBreakController();
|
||||
return (await name.execute())?.pipe;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user