diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-11 17:46:11 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-05-11 17:46:11 +0200 |
| commit | 51e9c6d0c58be8f99c166aa7be85342c9a1d5f83 (patch) | |
| tree | 2f14a024307e351a534d3b4caafa2512839786fb | |
| parent | 870858bedcabd94171d6518d6d5f3eacbb790193 (diff) | |
| download | discordbot-51e9c6d0c58be8f99c166aa7be85342c9a1d5f83.tar.gz discordbot-51e9c6d0c58be8f99c166aa7be85342c9a1d5f83.zip | |
guild create: set minimum tag length to 2
| -rw-r--r-- | commands/vainsocial/guild_create.js | 2 | ||||
| -rw-r--r-- | 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: "?" } ] }); |
