mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-06 14:20:51 +02:00
Beep
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user