Removed redudant search term for searching up partial tracks
This commit is contained in:
parent
dbf49e6c21
commit
423060f675
|
|
@ -148,7 +148,7 @@ 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:
|
||||||
spotify_track: objects.Track = (await self.node.get_tracks(
|
spotify_track: objects.Track = (await self.node.get_tracks(
|
||||||
f"ytmsearch:{track.title} {track.author} audio"
|
f"ytmsearch:{track.title} {track.author}"
|
||||||
))[0]
|
))[0]
|
||||||
await self.node.send(
|
await self.node.send(
|
||||||
op="play",
|
op="play",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue