use plain password
This commit is contained in:
parent
a666b901f4
commit
074ceea8eb
1 changed files with 2 additions and 3 deletions
|
@ -11,8 +11,7 @@ class Music(commands.Cog):
|
||||||
"""Commandes relatives à la musique."""
|
"""Commandes relatives à la musique."""
|
||||||
def __init__(self, client):
|
def __init__(self, client):
|
||||||
self.client = client
|
self.client = client
|
||||||
self.keys = load(["PASSWORD_LAVALINK"])
|
print("Démarrage du serveur Lavalink...", end = " ")
|
||||||
print("Démarrage du serveur Lavalink...")
|
|
||||||
Popen(['java', '-jar', 'Lavalink.jar'], stdout = DEVNULL)
|
Popen(['java', '-jar', 'Lavalink.jar'], stdout = DEVNULL)
|
||||||
print("Lavalink prêt")
|
print("Lavalink prêt")
|
||||||
|
|
||||||
|
@ -29,7 +28,7 @@ class Music(commands.Cog):
|
||||||
await self.client.wavelink.initiate_node(host = "127.0.0.1",
|
await self.client.wavelink.initiate_node(host = "127.0.0.1",
|
||||||
port = 2333,
|
port = 2333,
|
||||||
rest_uri = "http://127.0.0.1:2333",
|
rest_uri = "http://127.0.0.1:2333",
|
||||||
password = self.keys["TOKEN_REDDIT_CLIENT_ID"],
|
password = "youshallnotpass",
|
||||||
identifier = "TEST",
|
identifier = "TEST",
|
||||||
region = "us_central")
|
region = "us_central")
|
||||||
|
|
||||||
|
|
Reference in a new issue