From 2b94827ec54fa203316375475e6404e9675b685d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 7 Aug 2021 02:49:06 +0200 Subject: [PATCH] waiting 8s --- src/cogs/music.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cogs/music.py b/src/cogs/music.py index 40aebec..0aea70a 100644 --- a/src/cogs/music.py +++ b/src/cogs/music.py @@ -3,6 +3,7 @@ from subprocess import Popen, DEVNULL from wavelink import Client as wClient from discord.ext import commands from utils.core import load +from time import sleep def setup(client): client.add_cog(Music(client)) @@ -18,6 +19,8 @@ class Music(commands.Cog): if not hasattr(client, 'wavelink'): self.client.wavelink = wClient(bot = self.client) + + sleep(8) self.client.loop.create_task(self.start_nodes())