mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
Reorganise some shard logic
This commit is contained in:
@@ -91,7 +91,6 @@ class Client extends EventEmitter {
|
||||
* @type {?ShardUtil}
|
||||
*/
|
||||
this.shard = process.send ? ShardClientUtil.singleton(this) : null;
|
||||
if (this.shard) process.on('message', this.shard._handleMessage.bind(this.shard));
|
||||
|
||||
/**
|
||||
* A Collection of the Client's stored users
|
||||
|
||||
Reference in New Issue
Block a user