diff --git a/src/cogs/music.py b/src/cogs/music.py index b4b3f1c..4951dfa 100644 --- a/src/cogs/music.py +++ b/src/cogs/music.py @@ -1,9 +1,7 @@ import discord -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)) @@ -13,14 +11,9 @@ class Music(commands.Cog): def __init__(self, client): self.client = client self.keys = load(["REGION_DISCORD"]) - print("DĂ©marrage du serveur Lavalink...", end = " ") - Popen(['java', '-jar', 'Lavalink.jar'], stdout = DEVNULL) - print("Lavalink prĂȘt") if not hasattr(client, 'wavelink'): self.client.wavelink = wClient(bot = self.client) - - sleep(15) self.client.loop.create_task(self.start_nodes())