forked from tools/josh
Fix unknown command error message
This commit is contained in:
parent
d32fcf6fde
commit
e4f97da372
|
@ -110,7 +110,7 @@ class Commands {
|
|||
} else if (args.getCommand().trim() === "") {
|
||||
return "";
|
||||
} else {
|
||||
return `Unknown command '${args[0]}'`
|
||||
return `Unknown command '${args.getCommand()}'`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue