diff --git a/commands/edit-number/currency.js b/commands/edit-number/currency.js index bf3b638e..cf475687 100644 --- a/commands/edit-number/currency.js +++ b/commands/edit-number/currency.js @@ -25,14 +25,16 @@ module.exports = class CurrencyCommand extends Command { { key: 'base', type: 'string', + examples: ['USD'], min: 3, - max: 3 + max: 5 }, { key: 'target', type: 'string', + examples: ['JPY', 'GBP'], min: 3, - max: 3 + max: 5 } ] }); diff --git a/commands/edit-number/math.js b/commands/edit-number/math.js index 511ff18c..9aaa7d9a 100644 --- a/commands/edit-number/math.js +++ b/commands/edit-number/math.js @@ -21,7 +21,8 @@ module.exports = class MathCommand extends Command { args: [ { key: 'expression', - type: 'string' + type: 'string', + examples: ['2 + 2', '2 * 2', '2 / 2', '2 - 2'] } ] }); diff --git a/commands/edit-number/units.js b/commands/edit-number/units.js index 9299df26..2dfd43bd 100644 --- a/commands/edit-number/units.js +++ b/commands/edit-number/units.js @@ -19,11 +19,13 @@ module.exports = class UnitsCommand extends Command { { key: 'base', type: 'string', + examples: ['km', 'in'], parse: base => base.toLowerCase() }, { key: 'target', type: 'string', + examples: ['miles', 'cm'], parse: target => target.toLowerCase() } ] diff --git a/package.json b/package.json index 430951d0..8ecbd5f8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "152.0.0", + "version": "152.0.1", "description": "Your personal server companion.", "main": "Xiao.js", "private": true,