From c69330144bf122e6a36a06dd6abf6fd44e50d547 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 25 Mar 2017 07:32:37 +0000 Subject: [PATCH] Final Clean-up (But the weird type error remains) --- commands/search/botinfo.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/commands/search/botinfo.js b/commands/search/botinfo.js index c26a9014..ecf6a781 100644 --- a/commands/search/botinfo.js +++ b/commands/search/botinfo.js @@ -18,13 +18,7 @@ module.exports = class BotSearchCommand extends commando.Command { args: [{ key: 'bot', prompt: 'Which bot do you want to get information for?', - type: 'user', - validate: user => { - if (user.bot) { - return true; - } - return 'Please mention a bot account, not a user account.'; - } + type: 'user' }] }); }