Fix command help param count issue
This commit is contained in:
@@ -127,7 +127,7 @@ function helpCommand(command, params, client) {
|
||||
|
||||
case "command":
|
||||
case "cmd":
|
||||
if(areThereEnoughParams(params, 2, " ")) {
|
||||
if(splitParams.length >= 2) {
|
||||
showCommandHelpMessage(client, splitParams[2]);
|
||||
} else {
|
||||
showCommandHelpMessage(client, false);
|
||||
|
||||
Reference in New Issue
Block a user