Added back lavasettings

This commit is contained in:
Ev-1 committed 2019-01-15 19:09:50 +01:00
1 parent 3d21fe2f9d
commit 12fb246c32
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -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)
+3 -2
View File
@@ -1,3 +1,4 @@
host = 'localhost'
rest_port = 2333
ws_port = 2333
port = 2333
password = 'youshallnotpass'
region = 'eu'