mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +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: [{
|
args: [{
|
||||||
key: 'bot',
|
key: 'bot',
|
||||||
prompt: 'Which bot do you want to get information for?',
|
prompt: 'Which bot do you want to get information for?',
|
||||||
type: 'user',
|
type: 'user'
|
||||||
validate: user => {
|
|
||||||
if (user.bot) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
return 'Please mention a bot account, not a user account.';
|
|
||||||
}
|
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user