This commit is contained in:
Daniel Odendahl Jr
2017-05-07 17:43:17 +00:00
parent 87bc1e31e1
commit ff30e857bf
+1 -4
View File
@@ -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';
}
}