add /break value

This commit is contained in:
LenAnderson
2024-07-04 12:26:58 -04:00
parent 8e90e2a0e4
commit 6193b6590e
3 changed files with 11 additions and 1 deletions

View File

@ -727,6 +727,10 @@ export class SlashCommandParser {
cmd.command = this.commands['break'];
cmd.start = this.index + 1;
this.take('/break'.length);
this.discardWhitespace();
if (this.testUnnamedArgument()) {
cmd.unnamedArgumentList.push(...this.parseUnnamedArgument());
}
cmd.end = this.index;
this.commandIndex.push(cmd);
this.scopeIndex.push(this.scope.getCopy());