system messages types WIP

This commit is contained in:
mmacierzanka committed 2021-08-02 22:18:24 +02:00
1 parent a636960957
commit 7250cace67
2 files changed
+26 -2

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ export class CommandManager {
) {
argumentsList.splice(0, 1);
}
if (command.arguments) {
if (command.arguments.length > 0) {
command.arguments.map((a, i) => {
if (!argumentsList[i] && !a.optional) {
throw new MissingArgumentError(a);