diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index 9aa0aed86..60342ad68 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -116,6 +116,15 @@ class VoiceConnection extends EventEmitter { this.authenticate(); } + /** + * The current stream dispatcher (if any) + * @type {?StreamDispatcher} + * @readonly + */ + get dispatcher() { + return this.player.dispatcher; + } + /** * Sets whether the voice connection should display as "speaking" or not * @param {boolean} value whether or not to speak