mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Shard Info Fixes
This commit is contained in:
@@ -19,7 +19,10 @@ 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) return true;
|
||||
if(shard < this.client.options.shardCount || shard > -1) {
|
||||
console.log(shard, this.client.options.shardCount);
|
||||
return true;
|
||||
}
|
||||
return 'Invalid Shard ID';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user