diff --git a/lavalink/player_manager.py b/lavalink/player_manager.py index 83ad7f3b..08aa13a1 100644 --- a/lavalink/player_manager.py +++ b/lavalink/player_manager.py @@ -12,7 +12,7 @@ from .enums import * from .errors import PlayerNotFound, NodeNotFound from .rest_api import RESTClient, Track -from .utils import task_callback +from .utils import task_callback_debug if TYPE_CHECKING: from . import node @@ -190,7 +190,7 @@ async def connect(self, deafen: bool = False, channel: Optional[discord.VoiceCha if self._monitor_task is not None: self._monitor_task.cancel() self._monitor_task = asyncio.create_task(self._monitor()) - self._monitor_task.add_done_callback(task_callback) + self._monitor_task.add_done_callback(task_callback_debug) if channel: if self.channel: self._last_channel_id = self.channel.id