Skip to content

Defining lavalink nodes

Reishi edited this page Feb 8, 2024 · 1 revision

Lavalink nodes are defined in src/config.ts under the poruNodes variable (see image below)

obraz

To define a new lavalink node prepare your lavalink server password and port.
Next, go to the src/config.ts file and create a new object (defined by {}) inside the array (see image below)

Don't freak out about the error that appears after creating the object, that's normal typescript behavior meant to protect you from making mistakes

obraz

Next, add all of these keys to the object below:

obraz

Fill the object with correct values (so for example set the port: 1234 to your actual lavalink's server port)
And that's it! You should be ready to run the app.