mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(voiceState): add self_video property (#4346)
This commit is contained in:
@@ -48,6 +48,11 @@ class VoiceState extends Base {
|
||||
* @type {?boolean}
|
||||
*/
|
||||
this.selfMute = data.self_mute;
|
||||
/**
|
||||
* Whether this member's camera is enabled
|
||||
* @type {boolean}
|
||||
*/
|
||||
this.selfVideo = data.self_video;
|
||||
/**
|
||||
* The session ID of this member's connection
|
||||
* @type {?string}
|
||||
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1672,6 +1672,7 @@ declare module 'discord.js' {
|
||||
public serverMute?: boolean;
|
||||
public sessionID?: string;
|
||||
public streaming: boolean;
|
||||
public selfVideo: boolean;
|
||||
public readonly speaking: boolean | null;
|
||||
|
||||
public setDeaf(deaf: boolean, reason?: string): Promise<GuildMember>;
|
||||
|
||||
Reference in New Issue
Block a user