batched slash commands

This commit is contained in:
RossAscends
2023-06-23 20:21:01 +09:00
parent ad779129d3
commit 82a09d2feb

View File

@ -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;