mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Nope that doesn't work
This commit is contained in:
@@ -18,12 +18,6 @@ module.exports = class BotSearchCommand extends Command {
|
|||||||
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 only use a bot account.';
|
|
||||||
},
|
|
||||||
parse: bot => {
|
parse: bot => {
|
||||||
return bot.id;
|
return bot.id;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user