The Eris client
ID of the cluster
ID of the worker
Optional handleFunction to handle commands. Have a function called handleCommand to your cluster class to handle commands.
BaseClusterWorker See for an example
Data sent in the command
Optional shutdownGraceful shutdown of the cluster. Have a function within your bot class called shutdown to use this.
BaseClusterWorker See for an example
Call this function when your shutdown function is complete.
Generated using TypeDoc
The base class for a cluster
Example