using localhost

This commit is contained in:
Mylloon 2021-08-07 11:56:31 +02:00
parent 4787d921f7
commit 12be1a8b11
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
server: # REST and WS server server: # REST and WS server
port: 2333 port: 2333
address: 0.0.0.0 address: "localhost"
lavalink: lavalink:
server: server:
password: "youshallnotpass" password: "youshallnotpass"

View file

@ -20,9 +20,9 @@ class Music(commands.Cog):
async def start_nodes(self): async def start_nodes(self):
await self.client.wait_until_ready() await self.client.wait_until_ready()
await self.client.wavelink.initiate_node(host = "0.0.0.0", await self.client.wavelink.initiate_node(host = "localhost",
port = 2333, port = 2333,
rest_uri = "http://0.0.0.0:2333", rest_uri = "http://localhost:2333",
password = "youshallnotpass", password = "youshallnotpass",
identifier = "PROD", identifier = "PROD",
region = self.keys["REGION_DISCORD"]) region = self.keys["REGION_DISCORD"])