Skip to content

Commit

Permalink
Fix an error in disconnect requiring a force kwarg.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy committed Jan 24, 2022
1 parent 2a359ad commit 4a80ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wavelink/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async def connect(self, *, timeout: float, reconnect: bool) -> None:

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

async def disconnect(self, *, force: bool) -> None:
async def disconnect(self, *, force: bool = False) -> None:
try:
logger.info(f"Disconnected from voice channel:: {self.channel.id}")

Expand Down

0 comments on commit 4a80ab9

Please sign in to comment.