Skip to main content

ruvyrias / Exports / SetStateUpdate

Interface: SetStateUpdate

Represents the data structure of a Discord voice state update.

Reference

https://discord.com/developers/docs/resources/voice#voice-state-object

Table of contents

Properties

Properties

channel_id

channel_id: string

The ID of the channel.

Defined in

src/Player/Connection.ts:44


deaf

deaf: boolean

Whether the user is deafened.

Defined in

src/Player/Connection.ts:52


guild_id

Optional guild_id: string

The ID of the guild.

Defined in

src/Player/Connection.ts:42


member

Optional member: Record<string, unknown>

The member object, if available.

Defined in

src/Player/Connection.ts:48


mute

mute: boolean

Whether the user is muted.

Defined in

src/Player/Connection.ts:54


request_to_speak_timestamp

Optional request_to_speak_timestamp: `${number}${number}${number}${number}-${number}${number}-${number}${number}T${number}${number}:${number}${number}:${number}${number}.${number}${number}${number}Z`

The timestamp for the user's request to speak.

Defined in

src/Player/Connection.ts:66


self_deaf

self_deaf: boolean

Whether the user is self-deafened.

Defined in

src/Player/Connection.ts:56


self_mute

self_mute: boolean

Whether the user is self-muted.

Defined in

src/Player/Connection.ts:58


self_stream

Optional self_stream: boolean

Whether the user is streaming.

Defined in

src/Player/Connection.ts:60


self_video

self_video: boolean

Whether the user is using video.

Defined in

src/Player/Connection.ts:62


session_id

session_id: string

The session ID.

Defined in

src/Player/Connection.ts:50


suppress

suppress: boolean

Whether the user is suppressed.

Defined in

src/Player/Connection.ts:64


user_id

user_id: string

The ID of the user.

Defined in

src/Player/Connection.ts:46