Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/tests/deps.ts>GatewayOpcodes

An object oriented Discordeno framework
Latest
enum GatewayOpcodes
Re-export
import { GatewayOpcodes } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

Members

Dispatch

An event was dispatched.

Heartbeat

Fired periodically by the client to keep the connection alive.

HeartbeatACK

Sent in response to receiving a heartbeat to acknowledge that it has been received.

Hello

Sent immediately after connecting, contains the heartbeat_interval to use.

Identify

Starts a new session during the initial handshake.

InvalidSession

The session has been invalidated. You should reconnect and identify/resume accordingly.

PresenceUpdate

Update the client's presence.

Reconnect

You should attempt to reconnect and resume immediately.

RequestGuildMembers

Request information about offline guild members in a large guild.

Resume = 6

Resume a previous session that was disconnected.

VoiceStateUpdate

Used to join/leave or move between voice channels.

Members

Dispatch

An event was dispatched.

Heartbeat

Fired periodically by the client to keep the connection alive.

HeartbeatACK

Sent in response to receiving a heartbeat to acknowledge that it has been received.

Hello

Sent immediately after connecting, contains the heartbeat_interval to use.

Identify

Starts a new session during the initial handshake.

InvalidSession

The session has been invalidated. You should reconnect and identify/resume accordingly.

PresenceUpdate

Update the client's presence.

Reconnect

You should attempt to reconnect and resume immediately.

RequestGuildMembers

Request information about offline guild members in a large guild.

Resume = 6

Resume a previous session that was disconnected.

VoiceStateUpdate

Used to join/leave or move between voice channels.