This commit is contained in:
dragonfire535
2017-10-16 13:27:09 -04:00
parent f3ad3588bc
commit ecaaeac9d2
+2 -2
View File
@@ -27,7 +27,7 @@ class CommandoClient extends Client {
.set({ Authorization: this.dBotsKey }) .set({ Authorization: this.dBotsKey })
.send({ .send({
shard_id: this.shard ? this.shard.id : 0, shard_id: this.shard ? this.shard.id : 0,
shard_count: this.client.options.shardCount || 1, shard_count: this.options.shardCount || 1,
server_count: this.guilds.size server_count: this.guilds.size
}); });
return body; return body;
@@ -45,7 +45,7 @@ class CommandoClient extends Client {
.set({ Authorization: this.dBotsOrgKey }) .set({ Authorization: this.dBotsOrgKey })
.send({ .send({
shard_id: this.shard ? this.shard.id : 0, shard_id: this.shard ? this.shard.id : 0,
shard_count: this.client.options.shardCount || 1, shard_count: this.options.shardCount || 1,
server_count: this.guilds.size server_count: this.guilds.size
}); });
return body; return body;