Skip to content

Commit

Permalink
update var name
Browse files Browse the repository at this point in the history
  • Loading branch information
Drapersniper committed Mar 20, 2022
1 parent c3b3ef9 commit c5211be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lavalink/player_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c5211be

Please sign in to comment.