Cleaner Looking args

This commit is contained in:
Daniel Odendahl Jr
2017-05-02 17:54:07 +00:00
parent 57ee7fa82b
commit 3bb21c2df0
83 changed files with 787 additions and 616 deletions
+8 -5
View File
@@ -10,11 +10,14 @@ module.exports = class RollCommand extends Command {
group: 'response',
memberName: 'roll',
description: 'Rolls a dice with a maximum value you specify.',
args: [{
key: 'value',
prompt: 'What is the maximum number you wish to appear?',
type: 'integer'
}]
args: [
{
key: 'value',
label: 'maximum number',
prompt: 'What is the maximum number you wish to appear?',
type: 'integer'
}
]
});
}