mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add BreakController to /run closure
This commit is contained in:
@ -1834,6 +1834,7 @@ async function runCallback(args, name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (name instanceof SlashCommandClosure) {
|
if (name instanceof SlashCommandClosure) {
|
||||||
|
name.breakController = new SlashCommandBreakController();
|
||||||
return (await name.execute())?.pipe;
|
return (await name.execute())?.pipe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user