From e734b8d8319cf9a5237e15d01ffe935ab07ee6e8 Mon Sep 17 00:00:00 2001 From: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com> Date: Sat, 16 Mar 2024 15:20:54 -0400 Subject: [PATCH] shardEnd --- src/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }); }