- We are NOT providing any kind of support unoriginal self-hosted instance, please, if you need self-hosting our code, read the tutorial down below.
It's simple, first of all, make sure if you use a node version compatible with our source (14.x or latest)
node -v
if the version is compatible, let's go to next step.
Run in your terminal this command
npm install -f
This will force install all libraries
And finally... We will create two new files: .env and LavalinkConfig.js
- In the .env file, you will put this:
TOKEN=
PREFIX=
MONGO_URI=
MAX_SHARDS=
TOPGG_TOKEN=
DISCORDBOTS_TOKEN=
- Before you create the file, go to this directory /src/utils/lavalink and put this:
module.exports = [
{
id: '1',
host: '0.0.0.0',
port: 2333,
password: 'youshallnotpass'
}
]- Now we can run the code, execute this command:
node .
If you want play music, you will need dowloading the lavalink, click here and have fun.