mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-06 14:24:30 +01:00
Added back lavasettings
This commit is contained in:
1 parent
3d21fe2f9d
commit
12fb246c32
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
host = 'localhost'
|
||||
rest_port = 2333
|
||||
ws_port = 2333
|
||||
port = 2333
|
||||
password = 'youshallnotpass'
|
||||
region = 'eu'
|
||||
Reference in new issue
Block a user