waiting 8s
This commit is contained in:
parent
13f4fdaa1f
commit
2b94827ec5
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
@ -19,6 +20,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())
|
||||
|
||||
async def start_nodes(self):
|
||||
|
|
Reference in a new issue