adding service name

This commit is contained in:
Mylloon 2021-08-10 09:59:31 +02:00
parent 2bf170ad00
commit c459832b29

View file

@ -16,9 +16,9 @@ class Music(commands.Cog):
self.client.wavelink = wClient(bot = self.client)
if self.keys["DOCKER_KASSOUBOT"] == True:
self.url = "url docker"
self.url = "lavalink" # name of the service, working fine with the DNS in docker
else:
self.url = "localhost"
self.url = "localhost" # localhost
self.client.loop.create_task(self.start_nodes())