Remove necessary async functions
This commit is contained in:
@@ -150,7 +150,7 @@ class Playlists(commands.Cog, name="playlist"):
|
||||
if value and 0 < value <= (len(tracks['tracks'])):
|
||||
tracks['tracks'] = [tracks['tracks'][value - 1]]
|
||||
for track in tracks['tracks']:
|
||||
await player.queue.put(track)
|
||||
player.queue.put(track)
|
||||
|
||||
await ctx.send(get_lang(ctx.guild.id, 'playlistPlay').format(result['playlist']['name'], len(tracks['tracks'][:max_t])))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user