mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(VoiceState): add VoiceState#streaming (#3521)
* feat: add VoiceState#streaming * typings: add VoiceState#streaming
This commit is contained in:
@@ -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}
|
||||
|
||||
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -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<GuildMember>;
|
||||
|
||||
Reference in New Issue
Block a user