From 8d7ab24ccef7f77e7dd06ac50dc0b02c26c1a5c3 Mon Sep 17 00:00:00 2001 From: MARCROCK22 <57925328+MARCROCK22@users.noreply.github.com> Date: Sat, 23 Mar 2024 22:38:35 -0400 Subject: [PATCH] fix: client options --- src/client/client.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/client.ts b/src/client/client.ts index dafac10..08a7939 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -99,6 +99,8 @@ export class Client extends BaseClient { shardStart: this.options?.shards?.start, shardEnd: this.options?.shards?.end ?? this.options?.shards?.total, totalShards: this.options?.shards?.total ?? this.options?.shards?.end, + properties: this.options?.gateway?.properties, + compress: this.options?.gateway?.compress, }); } @@ -183,6 +185,10 @@ export interface ClientOptions extends BaseClientOptions { end: number; total?: number; }; + gateway?: { + properties?: ShardManagerOptions['properties']; + compress?: ShardManagerOptions['compress']; + }; commands?: { prefix: (message: Message) => Promise | string[]; deferReplyResponse?: (ctx: CommandContext) => Parameters[0];