diff --git a/src/structures/VoiceState.js b/src/structures/VoiceState.js index 8e2922a96..c60f6ac65 100644 --- a/src/structures/VoiceState.js +++ b/src/structures/VoiceState.js @@ -53,6 +53,11 @@ class VoiceState extends Base { * @type {?string} */ this.sessionID = data.session_id; + /** + * Whether this member is streaming using "Go Live" + * @type {boolean} + */ + this.streaming = data.self_stream || false; /** * The ID of the voice channel that this member is in * @type {?Snowflake} diff --git a/typings/index.d.ts b/typings/index.d.ts index 1bbb8038f..456deee71 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1579,6 +1579,7 @@ declare module 'discord.js' { public serverDeaf?: boolean; public serverMute?: boolean; public sessionID?: string; + public streaming: boolean; public readonly speaking: boolean | null; public setDeaf(deaf: boolean, reason?: string): Promise;