From 3f55eb87c8cf949690004b3e2c47ae03cc40d8d4 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 10 Apr 2017 15:23:39 +0000 Subject: [PATCH] Fix --- commands/botinfo/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/botinfo/info.js b/commands/botinfo/info.js index 2cdfb993..09c72635 100644 --- a/commands/botinfo/info.js +++ b/commands/botinfo/info.js @@ -34,7 +34,7 @@ module.exports = class InfoCommand extends commando.Command { if (!shardID) { shardID = this.client.shard.id; } - else if (shardID > this.client.shardCount - 1 && shardID < 0) { + else if (shardID > this.client.options.shardCount - 1 && shardID < 0) { return message.say(':x: Error! Invalid Shard!'); } const memory = await this.client.shard.broadcastEval('Math.round(process.memoryUsage().heapUsed / 1024 / 1024)');