diff --git a/src/structures/VoiceState.js b/src/structures/VoiceState.js index f11b24457..2854d94db 100644 --- a/src/structures/VoiceState.js +++ b/src/structures/VoiceState.js @@ -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} diff --git a/typings/index.d.ts b/typings/index.d.ts index 44b10530a..22da69d3f 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;