Add AN slash command

This commit is contained in:
SillyLossy
2023-05-16 17:32:24 +03:00
parent 211ad9172d
commit a9037560dc
2 changed files with 9 additions and 1 deletions

View File

@ -97,7 +97,9 @@ function executeSlashCommands(text) {
return false;
}
const lines = text.split('\n');
// Hack to allow multi-line slash commands
// All slash command messages should begin with a slash
const lines = [text];
const linesToRemove = [];
let interrupt = false;