From cb46150ce257b910b6843260f70afb220341054d Mon Sep 17 00:00:00 2001 From: vveeps <54472340+vveeps@users.noreply.github.com> Date: Sun, 10 Oct 2021 00:26:49 +0300 Subject: [PATCH] add missing context to Track.original --- pomice/player.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pomice/player.py b/pomice/player.py index 1bfea85..cca62de 100644 --- a/pomice/player.py +++ b/pomice/player.py @@ -193,7 +193,8 @@ class Player(VoiceProtocol): """Plays a track. If a Spotify track is passed in, it will be handled accordingly.""" if track.spotify: 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] track.original = search