From 51e9c6d0c58be8f99c166aa7be85342c9a1d5f83 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 11 May 2017 17:46:11 +0200 Subject: guild create: set minimum tag length to 2 --- commands/vainsocial/guild_create.js | 2 +- commands/vainsocial/guild_view.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/vainsocial/guild_create.js b/commands/vainsocial/guild_create.js index c28fe2a..e742609 100644 --- a/commands/vainsocial/guild_create.js +++ b/commands/vainsocial/guild_create.js @@ -32,7 +32,7 @@ Create a Guild with your VainSocial profile as leader. label: "tag", prompt: "Please specify your Guild's tag.", type: "string", - min: 3, + min: 2, max: 4 }, { // TODO use enum diff --git a/commands/vainsocial/guild_view.js b/commands/vainsocial/guild_view.js index c8375d4..28ddad3 100644 --- a/commands/vainsocial/guild_view.js +++ b/commands/vainsocial/guild_view.js @@ -26,7 +26,7 @@ Show a summary of your Guild. label: "name", prompt: "Please specify your Guild's name.", type: "string", - min: 3, + min: 2, default: "?" } ] }); -- cgit v1.3.1