Use unordered arguments

This commit is contained in:
loicbersier 2020-07-16 09:28:06 +02:00
parent 0d461f2e86
commit 0f64f1b846
2 changed files with 6 additions and 2 deletions

View file

@ -15,6 +15,7 @@ class shameboardCommand extends Command {
prompt: { prompt: {
start: 'What emote should be used to enter the shameboard?', start: 'What emote should be used to enter the shameboard?',
}, },
unordered: true
}, },
{ {
id: 'count', id: 'count',
@ -23,7 +24,8 @@ class shameboardCommand extends Command {
optional: true optional: true
}, },
type: 'integer', type: 'integer',
default: '4' default: '4',
unordered: true
}, },
{ {
id: 'remove', id: 'remove',

View file

@ -15,6 +15,7 @@ class StarBoardCommand extends Command {
prompt: { prompt: {
start: 'What emote should be used to enter the shameboard?', start: 'What emote should be used to enter the shameboard?',
}, },
unordered: true
}, },
{ {
id: 'count', id: 'count',
@ -23,7 +24,8 @@ class StarBoardCommand extends Command {
start: 'How many times should that emote be reacted to enter the shameboard?', start: 'How many times should that emote be reacted to enter the shameboard?',
optional: true optional: true
}, },
default: '4' default: '4',
unordered: true
}, },
{ {
id: 'remove', id: 'remove',