From c02eb2f171c958a8386e3e29798080f0fe1108d8 Mon Sep 17 00:00:00 2001 From: Marko Kajzer Date: Tue, 8 Nov 2016 02:35:49 +0900 Subject: [PATCH] Fixed unset field of VoiceConnection (#879) * Fixed unset field of VoiceConnection Fixed a typo * Update VoiceConnection.js --- src/client/voice/VoiceConnection.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index afb405789..28bd60aaa 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -32,6 +32,12 @@ class VoiceConnection extends EventEmitter { */ this.channel = pendingConnection.channel; + /** + * Whether we're currently transmitting audio + * @type {boolean} + */ + this.speaking = false; + /** * An array of Voice Receivers that have been created for this connection * @type {VoiceReceiver[]}