Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VoiceState<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

channelID

channelID: string | null

The channel id this user is connected to.

since

0.0.1

Readonly client

client: T

deaf

deaf: boolean

Whether or not this user is deafened by the server.

since

0.0.1

Readonly guild

guild: Guild

Readonly id

id: string

The user id this voice state is for.

since

0.0.1

mute

mute: boolean

Whether or not this user is muted by the server.

since

0.0.1

selfDeaf

selfDeaf: boolean

Whether or not this user is locally deafened.

since

0.0.1

selfMute

selfMute: boolean

Whether or not this user is locally muted.

since

0.0.1

selfStream

selfStream: boolean | null

Whether or not this user is streaming using "Go Live".

since

0.0.1

sessionID

sessionID: string

The voice state's session id.

since

0.0.1

suppress

suppress: boolean

Whether or not this user is muted by the current user.

since

0.0.1

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

Methods

Protected _patch

  • _patch(data: APIVoiceStatePartial): this

clone

  • clone(): this

toJSON

  • toJSON(): Record<string, any>

valueOf

  • valueOf(): string

Generated using TypeDoc