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