Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IncomingEventWebSocketClosedPayload

Hierarchy

  • IIncomingEvent
    • IncomingEventWebSocketClosedPayload

Index

Properties

byRemote: boolean

Whether or not the websocket was closed by Discord.

example
true
code: number

The closing error code from the websocket.

example
4006
guildId: string
op: "event"
reason: string

The reason the websocket was closed.

example
"Your session is no longer valid."
type: "WebSocketClosedEvent"

Generated using TypeDoc