feat(VoiceState): add VoiceState#streaming (#3521)

* feat: add VoiceState#streaming

* typings: add VoiceState#streaming
This commit is contained in:
izexi
2019-10-04 15:44:35 +01:00
committed by SpaceEEC
parent 48856c0815
commit a8f06f251f
2 changed files with 6 additions and 0 deletions

View File

@@ -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}