Discolink
    Preparing search index...

    Interface WebSocketClosedEventPayload

    interface WebSocketClosedEventPayload {
        type: WebSocketClosed;
        code: number;
        reason: string;
        byRemote: boolean;
        op: Event;
        guildId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The type of event

    code: number
    reason: string

    The close reason

    byRemote: boolean

    Whether the connection was closed by Discord

    op: Event

    The op type

    guildId: string

    The guild id