Skip to content

Interface VoiceMode

🏷️ Properties

auto_threshold

ts
auto_threshold: boolean

voice activity threshold automatically sets its threshold

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:69

delay

ts
delay: number

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

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:81

shortcut

ts
shortcut: ShortcutKeyCombo[]

shortcut key combos for PTT

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:77

threshold

ts
threshold: number

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

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:73

type

ts
type: "PUSH_TO_TALK" | "VOICE_ACTIVITY"

voice setting mode type (can be PUSH_TO_TALK or VOICE_ACTIVITY)

Defined in: packages/discord-rpc/structures/VoiceSettings.ts:65

Released under the MIT License.