mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Final Clean-up (But the weird type error remains)
This commit is contained in:
@@ -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'
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user