diff --git a/src/client/voice/ClientVoiceManager.js b/src/client/voice/ClientVoiceManager.js index a40366079..e0d3879ff 100644 --- a/src/client/voice/ClientVoiceManager.js +++ b/src/client/voice/ClientVoiceManager.js @@ -1,6 +1,4 @@ const Collection = require('../../util/Collection'); -const Constants = require('../../util/Constants'); -const Util = require('../../util/Util'); const VoiceConnection = require('./VoiceConnection'); /** @@ -36,18 +34,6 @@ class ClientVoiceManager { connection.channel = this.client.channels.get(channel_id); connection.setSessionID(session_id); } - - options = Util.mergeDefault({ - guild_id: channel.guild.id, - channel_id: channel.id, - self_mute: false, - self_deaf: false, - }, options); - - this.client.ws.send({ - op: Constants.OPCodes.VOICE_STATE_UPDATE, - d: options, - }); } /** diff --git a/typings b/typings index 997abfd2d..3dbeb51fd 160000 --- a/typings +++ b/typings @@ -1 +1 @@ -Subproject commit 997abfd2d5b3fbc958f4cc11012a5fe41065aee8 +Subproject commit 3dbeb51fd2a0ec0ca87c4ddcf20c1c1498633762