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

x/oasis/tests/deps.ts>VoiceOpcodes

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

Members

ClientDisconnect = 13

A client has disconnected from the voice channel

Heartbeat

Keep the websocket connection alive.

HeartbeatACK

Sent to acknowledge a received client heartbeat.

Hello

Time to wait between sending heartbeats in milliseconds.

Identify

Begin a voice websocket connection.

Ready

Complete the websocket handshake.

Resume

Resume a connection.

Resumed

Acknowledge a successful session resume.

SelectProtocol

Select the voice protocol.

SessionDescription

Describe the session.

Speaking

Indicate which users are speaking.

Members

ClientDisconnect = 13

A client has disconnected from the voice channel

Heartbeat

Keep the websocket connection alive.

HeartbeatACK

Sent to acknowledge a received client heartbeat.

Hello

Time to wait between sending heartbeats in milliseconds.

Identify

Begin a voice websocket connection.

Ready

Complete the websocket handshake.

Resume

Resume a connection.

Resumed

Acknowledge a successful session resume.

SelectProtocol

Select the voice protocol.

SessionDescription

Describe the session.

Speaking

Indicate which users are speaking.