allow quoted values in unnamed argument

This commit is contained in:
LenAnderson
2024-04-21 15:49:36 -04:00
parent 5a51f29ee1
commit 8ac6c0c96a

View File

@ -619,6 +619,13 @@ export class SlashCommandParser {
value = '';
}
listValues.push(this.parseClosure());
} else if (this.testQuotedValue()) {
isList = true;
if (value.length > 0) {
listValues.push(value.trim());
value = '';
}
listValues.push(this.parseQuotedValue());
} else {
value += this.take();
}