waiting 8s

This commit is contained in:
Mylloon 2021-08-07 02:49:06 +02:00
parent 13f4fdaa1f
commit 2b94827ec5

View file

@ -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())