Final Clean-up (But the weird type error remains)

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 07:32:37 +00:00
parent 9791c0115c
commit c69330144b
+1 -7
View File
@@ -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'
}]
});
}