Fixed misplaced closing bracket in command parser

This commit is contained in:
Essem 2021-07-12 21:56:53 -05:00
parent 74ee8988bf
commit 8059fd1b77
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -30,10 +30,10 @@ module.exports = (input) => {
args[arg] = false;
}
if (!ended) curr = arg;
}
} else {
args[a.slice(2)] = true;
}
}
} else if (curr) {
if (a.endsWith("\"")) {
args[curr] += a.slice(0, -1);