Skip to main content
Module

x/discord_rpc_deno/mod.ts>VoiceMode

port of @xhayper/discord-rpc to deno
Go to Latest
interface VoiceMode
import { type VoiceMode } from "https://deno.land/x/discord_rpc_deno@v1.0.25/mod.ts";

Properties

type: "PUSH_TO_TALK" | "VOICE_ACTIVITY"

voice setting mode type (can be PUSH_TO_TALK or VOICE_ACTIVITY)

auto_threshold: boolean

voice activity threshold automatically sets its threshold

threshold: number

threshold for voice activity (in dB) (min: -100, max: 0)

shortcut: ShortcutKeyCombo[]

shortcut key combos for PTT

delay: number

the PTT release delay (in ms) (min: 0, max: 2000)