diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/vainsocial/match.js | 8 | ||||
| -rw-r--r-- | commands/vainsocial/matches.js | 4 | ||||
| -rw-r--r-- | commands/vainsocial/user.js | 4 |
3 files changed, 12 insertions, 4 deletions
diff --git a/commands/vainsocial/match.js b/commands/vainsocial/match.js index 14b06a2..c8167ea 100644 --- a/commands/vainsocial/match.js +++ b/commands/vainsocial/match.js @@ -25,13 +25,17 @@ module.exports = class ShowMatchCommand extends Commando.Command { key: "name", label: "name", prompt: "Please specify your in game name (Case Sensitive).", - type: "string" + type: "string", + min: 3, + max: 16 }, { key: "number", label: "number", prompt: "Please specify how far you want to go back in history. Use 1 or leave out for the latest match.", type: "integer", - default: 1 + default: 1, + min: 1, + max: 10 } ] }); } diff --git a/commands/vainsocial/matches.js b/commands/vainsocial/matches.js index 2660d73..3f2de2f 100644 --- a/commands/vainsocial/matches.js +++ b/commands/vainsocial/matches.js @@ -24,7 +24,9 @@ module.exports = class ShowMatchesCommand extends Commando.Command { key: "name", label: "name", prompt: "Please specify your in game name (Case Sensitive).", - type: "string" + type: "string", + min: 3, + max: 16 } ] }); } diff --git a/commands/vainsocial/user.js b/commands/vainsocial/user.js index f544a5e..1f41c12 100644 --- a/commands/vainsocial/user.js +++ b/commands/vainsocial/user.js @@ -23,7 +23,9 @@ module.exports = class ShowUserCommand extends Commando.Command { key: "name", label: "name", prompt: "Please specify your in game name (Case Sensitive).", - type: "string" + type: "string", + min: 3, + max: 16 } ] }); } |
