Interface ShardEvents

Hierarchy

  • ShardEvents

Events

debug: [info: string]

Emitted with various information for debugging.

disconnect: [err?: Error]

Emitted when this shard disconnects.

error: [info: string | Error]

Emitted when an error happens. If an error is emitted and no handlers are present, the error will be thrown.

preReady: []

Emitted when this shard has processed the READY packet from Discord.

ready: []

Emitted when this shard is fully ready.

resume: []

Emitted when this shard resumes a connection.

warn: [info: string]

Emitted with various warning information.