diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index 727f21968..b532d0c5e 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -166,6 +166,14 @@ class VoiceConnection extends EventEmitter { }); } + /** + * The voice state of this connection + * @type {VoiceState} + */ + get voice() { + return this.channel.guild.voiceStates.get(this.client.user.id); + } + /** * Sends a request to the main gateway to join a voice channel. * @param {Object} [options] The options to provide