ruvyrias / Exports / WebSocketClosedEvent
Interface: WebSocketClosedEvent
Represents the event when the WebSocket connection to Discord voice servers is closed.
Hierarchy
-
↳
WebSocketClosedEvent
Table of contents
Properties
Properties
byRemote
• byRemote: boolean
Indicates whether the connection was closed by the remote (Discord) side.
Defined in
code
• code: number
The WebSocket close code.
Defined in
guildId
• guildId: string
The unique identifier of the guild where the player event occurred.
Inherited from
Defined in
op
• op: "event"
The operation identifier, always set to 'event'.
Inherited from
Defined in
reason
• reason: string
The reason for closing the WebSocket connection.
Defined in
type
• type: "WebSocketClosedEvent"
The type of the player event, set to 'WebSocketClosedEvent'.