From 2c4c07a34979181a2b7a5ff2647d572aa0bcc60c Mon Sep 17 00:00:00 2001 From: cloudwithax Date: Wed, 15 Jun 2022 16:21:37 -0400 Subject: [PATCH] forgot to add voiceprotocol change --- pomice/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pomice/player.py b/pomice/player.py index f934474..cff48bc 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -252,7 +252,7 @@ class Player(VoiceProtocol): return await self._node.get_tracks(query, ctx=ctx, search_type=search_type) async def connect(self, *, timeout: float, reconnect: bool, self_deaf: bool = False, self_mute: bool = False): - await self.guild.change_voice_state(channel=self.channel) + await self.guild.change_voice_state(channel=self.channel, self_deaf=self_deaf, self_mute=self_mute) self._node._players[self.guild.id] = self self._is_connected = True