From 4a80ab9056ec419364a661394533b6fab1255141 Mon Sep 17 00:00:00 2001 From: Eviee Date: Mon, 24 Jan 2022 20:09:06 +1000 Subject: [PATCH] Fix an error in disconnect requiring a force kwarg. --- wavelink/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wavelink/player.py b/wavelink/player.py index 6ed80ac7..bd35bed9 100644 --- a/wavelink/player.py +++ b/wavelink/player.py @@ -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}")