Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
enum VoiceOpcodes
import { VoiceOpcodes } from "https://deno.land/x/discordeno@17.2.0/template/minimal/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.