Archived
system messages types WIP
This commit is contained in:
1 parent
a636960957
commit
7250cace67
2 files changed
+26
-2
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user