From ec0c71d5c227df62ee17226cdef5725c316697ff Mon Sep 17 00:00:00 2001 From: Michael H Date: Wed, 8 Jan 2020 14:56:46 -0500 Subject: [PATCH] [3.1.9] - Patches over an issue with audio - More comprehensive fix restoring some of this functionality more safely planned Please enter the commit message for your changes. Lines starting --- redbot/cogs/audio/audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redbot/cogs/audio/audio.py b/redbot/cogs/audio/audio.py index ad82655d8..77a6bae85 100644 --- a/redbot/cogs/audio/audio.py +++ b/redbot/cogs/audio/audio.py @@ -2391,7 +2391,7 @@ class Audio(commands.Cog): if not self._track_limit(ctx, track["info"]["length"], maxlength): continue player.add(author_obj, lavalink.rest_api.Track(data=track)) - await asyncio.sleep(1) + await asyncio.sleep(0) track_len += 1 if len(playlists[playlist_name]["tracks"]) > track_len: maxlength_msg = " {bad_tracks} tracks cannot be queued.".format( @@ -3072,7 +3072,7 @@ class Audio(commands.Cog): else: track_len += 1 player.add(ctx.author, track) - await asyncio.sleep(1) + await asyncio.sleep(0) if not player.current: await player.play() if len(tracks) > track_len: