Creates a new Master instance
Location of Worker file
Options
Chunked Numbers for shards / cluster
File name to spawn with
Handler emitter
Log function
Log function
Options
Process list (including custom processes)
Session data (Set after .start())
Sharding manager for handling shard ratelimits
Whether or not the master has been spawned
Get all Discord Bot clusters (discludes custom processes)
Evals code on every cluster
Code to eval
An array of responses
Gets each clusters stats
Stats
Get a cluster based on the guild that should be cached there
Guild ID
Cluster guild belongs to
Get the shard that has a certain guild
ID of guild
ID of shard
Sends an event to all clusters
Event name
Event data
Whether or not to send to all processes, including custom ones
The data sent back
Convert a shard ID into it's containing cluster
Shard ID to convert to
The cluster the shard belongs to
Spawns a custom process
Name of the process (especially for logging)
Direct path for process
The new Cluster thread created
Starts the bot and spawns workers
Sends a TELL event to all clusters
Event name
Event data
Whether or not to send to all processes, including custom ones
Nothing
Generated using TypeDoc
Master process controller