From 74dda536445e2e881896efd60528ae3d6fa311be Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 7 Aug 2021 03:44:23 +0200 Subject: [PATCH] remove all job done --- src/cogs/music.py | 7 ------- 1 file changed, 7 deletions(-) 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())