use plain password

This commit is contained in:
Mylloon 2021-08-06 15:59:21 +02:00
parent a666b901f4
commit 074ceea8eb

View file

@ -11,8 +11,7 @@ class Music(commands.Cog):
"""Commandes relatives à la musique."""
def __init__(self, client):
self.client = client
self.keys = load(["PASSWORD_LAVALINK"])
print("Démarrage du serveur Lavalink...")
print("Démarrage du serveur Lavalink...", end = " ")
Popen(['java', '-jar', 'Lavalink.jar'], stdout = DEVNULL)
print("Lavalink prêt")
@ -29,7 +28,7 @@ class Music(commands.Cog):
await self.client.wavelink.initiate_node(host = "127.0.0.1",
port = 2333,
rest_uri = "http://127.0.0.1:2333",
password = self.keys["TOKEN_REDDIT_CLIENT_ID"],
password = "youshallnotpass",
identifier = "TEST",
region = "us_central")