diff --git a/commands/response/roast.js b/commands/response/roast.js index e727aa86..dda77fbf 100644 --- a/commands/response/roast.js +++ b/commands/response/roast.js @@ -12,7 +12,8 @@ module.exports = class RoastCommand extends Command { { key: 'user', prompt: 'What user do you want to roast?', - type: 'string' + type: 'string', + default: '' } ] }); diff --git a/commands/search/xkcd.js b/commands/search/xkcd.js index 88ed9a2c..832a5517 100644 --- a/commands/search/xkcd.js +++ b/commands/search/xkcd.js @@ -16,7 +16,8 @@ module.exports = class XKCDCommand extends Command { key: 'type', prompt: 'Please enter either a specific comic number, today, or random.', type: 'string', - default: 'random' + default: 'random', + parse: (type) => type.toLowerCase() } ] }); diff --git a/package.json b/package.json index 071596e9..68170f65 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "22.1.2", + "version": "22.1.3", "description": "A Discord Bot", "main": "Shard.js", "scripts": {