Interface WebsocketEvents

Hierarchy

  • WebsocketEvents

Properties

GATEWAY_PACKET: [packet: string]
GATEWAY_PARSED_PACKET: [type: string, data: object]
GATEWAY_UNKNOWN_PACKET: [message: string, packet: string]
GATEWAY_WELCOME: [data: APIBotUser]
GATEWAY_WELCOME_PACKET: [packet: string]
debug: [message: string | object]
disconnect: [error: Error]
exit: [message: string | Error]

Events

error: [error: Error]

Emitted after getting an error.