forgot to add voiceprotocol change
This commit is contained in:
parent
5d70f50b3d
commit
2c4c07a349
|
|
@ -252,7 +252,7 @@ class Player(VoiceProtocol):
|
||||||
return await self._node.get_tracks(query, ctx=ctx, search_type=search_type)
|
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):
|
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._node._players[self.guild.id] = self
|
||||||
self._is_connected = True
|
self._is_connected = True
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue