add missing context to Track.original

This commit is contained in:
vveeps 2021-10-10 00:26:49 +03:00
parent 7d2600ed7f
commit cb46150ce2
1 changed files with 2 additions and 1 deletions

View File

@ -193,7 +193,8 @@ class Player(VoiceProtocol):
"""Plays a track. If a Spotify track is passed in, it will be handled accordingly.""" """Plays a track. If a Spotify track is passed in, it will be handled accordingly."""
if track.spotify: if track.spotify:
search: Track = (await self._node.get_tracks( search: Track = (await self._node.get_tracks(
f"{track._search_type}:{track.author} - {track.title}" f"{track._search_type}:{track.author} - {track.title}",
ctx=track.ctx
))[0] ))[0]
track.original = search track.original = search