maybe this fixed it

This commit is contained in:
Erik 2023-12-10 23:24:25 +02:00
parent 55aafa5cb7
commit 1751def65e

View File

@ -57,6 +57,7 @@ class Shard extends EventEmitter
...process.env, ...process.env,
SHARDING_MANAGER: true, // IMPORTANT, SHARD IPC WILL BREAK IF MISSING SHARDING_MANAGER: true, // IMPORTANT, SHARD IPC WILL BREAK IF MISSING
SHARDING_MANAGER_MODE: 'process', // IMPORTANT, SHARD IPC WILL BREAK IF MISSING SHARDING_MANAGER_MODE: 'process', // IMPORTANT, SHARD IPC WILL BREAK IF MISSING
SHARDS: this.#id,
SHARD_ID: this.#id, SHARD_ID: this.#id,
SHARD_COUNT: options.totalShards, SHARD_COUNT: options.totalShards,
DISCORD_TOKEN: options.token DISCORD_TOKEN: options.token