diff --git a/src/client/client.ts b/src/client/client.ts index 331157d..dafac10 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -97,7 +97,7 @@ export class Client extends BaseClient { presence: this.options?.presence, debug: debugRC, shardStart: this.options?.shards?.start, - shardEnd: this.options?.shards?.end, + shardEnd: this.options?.shards?.end ?? this.options?.shards?.total, totalShards: this.options?.shards?.total ?? this.options?.shards?.end, }); }