mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
move silencing of loud /aborts into execute function when handled
This commit is contained in:
@ -2834,6 +2834,7 @@ async function executeSlashCommandsWithOptions(text, options = {}) {
|
||||
const result = await closure.execute();
|
||||
if (result.isAborted && !result.isQuietlyAborted) {
|
||||
toastr.warning(result.abortReason, 'Command execution aborted');
|
||||
closure.abortController.signal.isQuiet = true;
|
||||
}
|
||||
return result;
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user