From 7998577b071e049f5c9544343d4bb8e4df441627 Mon Sep 17 00:00:00 2001 From: Socram03 Date: Fri, 23 May 2025 06:15:08 -0400 Subject: [PATCH] fix: workers correctly assing ws properties --- src/websocket/discord/workermanager.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/websocket/discord/workermanager.ts b/src/websocket/discord/workermanager.ts index ed8dfb1..ad86db5 100644 --- a/src/websocket/discord/workermanager.ts +++ b/src/websocket/discord/workermanager.ts @@ -324,8 +324,8 @@ export class WorkerManager extends Map< shards: this._info!.shards, }, properties: { - ...properties, ...this.options.properties, + ...properties, }, } satisfies ManagerSpawnShardsResharding); } @@ -340,8 +340,8 @@ export class WorkerManager extends Map< shards: this.totalShards, }, properties: { - ...properties, ...this.options.properties, + ...properties, }, } satisfies ManagerSpawnShards); }