Skip to content

Commit

Permalink
Fix: Bug in custom player connections that results in the player not …
Browse files Browse the repository at this point in the history
…being added to Node.players
  • Loading branch information
EvieePy committed Dec 23, 2023
1 parent 82d48bc commit 4f7d0e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wavelink/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ async def connect(

if not self._guild:
self._guild = self.channel.guild
self.node._players[self._guild.id] = self

self.node._players[self._guild.id] = self

assert self.guild is not None
await self.guild.change_voice_state(channel=self.channel, self_mute=self_mute, self_deaf=self_deaf)
Expand Down

0 comments on commit 4f7d0e6

Please sign in to comment.