Skip to content

Commit

Permalink
Merge pull request #155 from PythonistaGuild/AbstractUmbra-patch-1
Browse files Browse the repository at this point in the history
Update player.py to work with dpy2.0
  • Loading branch information
EvieePy authored Apr 22, 2022
2 parents 10c8e51 + 202612c commit 76b50a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wavelink/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ async def _dispatch_voice_update(self, voice_state: Dict[str, Any]) -> None:
op="voiceUpdate", guildId=str(self.guild.id), **voice_state
)

async def connect(self, *, timeout: float, reconnect: bool) -> None:
await self.guild.change_voice_state(channel=self.channel)
async def connect(self, *, timeout: float, reconnect: bool, **kwargs: Any) -> None:
await self.guild.change_voice_state(channel=self.channel, **kwargs)
self._connected = True

logger.info(f"Connected to voice channel:: {self.channel.id}")
Expand Down

0 comments on commit 76b50a6

Please sign in to comment.