Skip to content

Eris

Extends

Constructors

new Eris()

new Eris(client: any): Eris

Parameters

ParameterType
clientany

Returns

Eris

Inherited from

Connector.constructor

Defined in

shoukaku/src/connectors/Connector.ts:18

Methods

getId()

getId(): string

Returns

string

Overrides

Connector.getId

Defined in

shoukaku/src/connectors/libs/Eris.ts:11


listen()

listen(nodes: NodeOption[]): void

Parameters

ParameterType
nodesNodeOption[]

Returns

void

Overrides

Connector.listen

Defined in

shoukaku/src/connectors/libs/Eris.ts:15


sendPacket()

sendPacket(
shardId: number,
payload: any,
important: boolean): void

Parameters

ParameterType
shardIdnumber
payloadany
importantboolean

Returns

void

Overrides

Connector.sendPacket

Defined in

shoukaku/src/connectors/libs/Eris.ts:7


set()

set(manager: Shoukaku): Connector

Parameters

ParameterType
managerShoukaku

Returns

Connector

Inherited from

Connector.set

Defined in

shoukaku/src/connectors/Connector.ts:24