diff --git a/cogs/music.py b/cogs/music.py index abc86cd..63c53c0 100644 --- a/cogs/music.py +++ b/cogs/music.py @@ -26,7 +26,7 @@ class Music: if not hasattr(bot, 'lavalink'): # This ensures the client isn't overwritten during cog reloads. bot.lavalink = lavalink.Client(bot.user.id, player=MixPlayer) - bot.lavalink.add_node('127.0.0.1', 2333, 'youshallnotpass', 'eu', 'default-node') # Host, Port, Password, Region, Name + bot.lavalink.add_node(host, port, password, region, 'default-node') # Host, Port, Password, Region, Name bot.add_listener(bot.lavalink.voice_update_handler, 'on_socket_response') bot.lavalink.add_event_hook(self.track_hook) diff --git a/lavasettings.py.example b/lavasettings.py.example index c5d95f1..d63f663 100644 --- a/lavasettings.py.example +++ b/lavasettings.py.example @@ -1,3 +1,4 @@ host = 'localhost' -rest_port = 2333 -ws_port = 2333 \ No newline at end of file +port = 2333 +password = 'youshallnotpass' +region = 'eu' \ No newline at end of file