mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
batched slash commands
This commit is contained in:
@ -272,7 +272,7 @@ function executeSlashCommands(text) {
|
|||||||
|
|
||||||
// Hack to allow multi-line slash commands
|
// Hack to allow multi-line slash commands
|
||||||
// All slash command messages should begin with a slash
|
// All slash command messages should begin with a slash
|
||||||
const lines = [text];
|
const lines = text.split('|').map(line => line.trim());
|
||||||
const linesToRemove = [];
|
const linesToRemove = [];
|
||||||
|
|
||||||
let interrupt = false;
|
let interrupt = false;
|
||||||
|
Reference in New Issue
Block a user