Knowledge Base
Connecting a Discord bot to Lavalink
Your bot needs a Lavalink client library, such as Lavalink-Client or Shoukaku for JavaScript, Wavelink or Lavalink.py for Python, or the one for your language.
- Copy the host, port and password from the panel, see Accessing your Lavalink server.
- Add a node to your bot's code with those values.
- Use the version of the client that matches your Lavalink version.
- Start the bot and look for a "connected" message.
host: your.node.address
port: 2333
password: your-password
secure: false
Connection errors? See Common Lavalink errors.