diff --git a/commands/moderation/unban.js b/commands/moderation/unban.js index d492b32a..8d049f91 100644 --- a/commands/moderation/unban.js +++ b/commands/moderation/unban.js @@ -15,11 +15,7 @@ module.exports = class UnbanCommand extends Command { { key: 'id', prompt: 'What member do you want to unban? Please enter the ID of the user.', - type: 'string', - validate: id => { - if (id.length === 18) return true; - return 'Invalid ID.'; - } + type: 'string' }, { key: 'reason', diff --git a/commands/random/star.js b/commands/random/star.js index 92438e60..3f1c98ce 100644 --- a/commands/random/star.js +++ b/commands/random/star.js @@ -13,11 +13,7 @@ module.exports = class StarCommand extends Command { { key: 'id', prompt: 'What is the ID of the message you wish to star?', - type: 'string', - validate: id => { - if (id.length === 18) return true; - return 'Invalid ID.'; - } + type: 'string' } ] }); diff --git a/package.json b/package.json index 71afa031..5f3ddba1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "21.1.3", + "version": "21.1.4", "description": "A Discord Bot", "main": "Shard.js", "scripts": {