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];