mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
* Update lavalink.py
* Add comment
(cherry picked from commit 43071e3fa2)
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
Co-authored-by: aikaterna <20862007+aikaterna@users.noreply.github.com>
Co-authored-by: jack1142 <6032823+jack1142@users.noreply.github.com>
This commit is contained in:
@@ -215,6 +215,8 @@ class LavalinkEvents(MixinMeta, metaclass=CompositeMetaClass):
|
||||
await self.config.guild_from_id(
|
||||
guild_id=guild_id
|
||||
).currently_auto_playing_in.set([])
|
||||
# let audio buffer run out on slower machines (GH-5158)
|
||||
await asyncio.sleep(2)
|
||||
await player.disconnect()
|
||||
self._ll_guild_updates.discard(guild.id)
|
||||
if status:
|
||||
|
||||
Reference in New Issue
Block a user