Shard

Shard

new Shard()

Source:
See:

Main Shard/Client class

Extends

  • Eris.Client

Members

ch :CommandHandler

Source:

Command handler

Type:

ext :ExtensionManager

Source:

Extension manager

Type:

lm :LocaleManager

Source:

Locale manager

Type:

pg :PostgreSQL

Source:

PostgreSQL client

Type:

ws :WebSocketClient

Source:

WebSocket client

Type:
  • WebSocketClient

Methods

connectShard(timeoutopt) → {Promise.<void>}

Source:

Connects the shard.

Parameters:
Name Type Attributes Description
timeout number <optional>

Timeout in ms

Returns:
Type
Promise.<void>

disconnectShard() → {Promise.<void>}

Source:

Disconnects the shard

Returns:
Type
Promise.<void>