mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Oops
This commit is contained in:
@@ -19,10 +19,7 @@ module.exports = class ShardInfoCommand extends Command {
|
||||
prompt: 'Which Shard would you like to get data for?',
|
||||
type: 'integer',
|
||||
validate: shard => {
|
||||
if(shard < this.client.options.shardCount || shard > -1) {
|
||||
console.log(shard, this.client.options.shardCount);
|
||||
return true;
|
||||
}
|
||||
if(shard < this.client.options.shardCount && shard > -1) return true;
|
||||
return 'Invalid Shard ID';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user