Skip to content

Commit a012fc6

Browse files
committed
Merge branch 'lavalink-dev' of https://github.com/pauldb09/Green-bot into lavalink-dev
2 parents 5e04ddf + 05d126e commit a012fc6

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,42 @@
6161

6262
Note: If you need help with the installation, you can join our [Discord Server]([https://green-bot.app/discord](https://discord.gg/Q5QSbAHaXB)).
6363

64+
And yes, it's same for replit.
65+
6466
You are looking for the All-in-One bot? [Click here](https://github.com/GreenBotDeveloppement/Green-bot/tree/multipropose)
6567

6668
Before starting, make you sure you have a mongoDB database (it's free) and nodejs v16.
6769

70+
You will already need to start a lavalink server and complete the informations in the config.js files.
71+
72+
[Guide: How to start and create a lavalink server](https://dsharpplus.github.io/articles/audio/lavalink/setup.html)
73+
74+
Once your server is ready go in the `config.js` file and add a node.
75+
76+
```js
77+
lavalink: [
78+
{ name: "node", url: "IP:PORT", auth: "LAVALINK_PASSWORD" },
79+
],
80+
```
81+
82+
⚠ Please make sure that you are using the same informations as provided in the `application.yml` file
83+
6884
__Step 1.__
6985

7086
Install NodeJS on your computer or on your vps. https://nodejs.org. You MUST have NodeJs 16 or an higher version.
7187
Then, download the files and open them with Visual Studio code (code.visualstudio.com). Then press `Crtl + shift + ù` or click on "new terminal", on the top bar.
7288

7389
__Step 2.__
74-
When your terminal is created, write `npm i` in your terminal to download the modules.
75-
If you encounter an error, make you sure that you have the latest version of nodejs.
90+
When your terminal is created, write `npm install` in your terminal to download all the modules.
91+
⚠ the bot won't work if this doesnt works
92+
If you encounter any error, make you sure that you have the latest version of nodejs or ask in the discord server.
7693

7794
__Step 3.__
7895
When the modules have been downloaded and a `node-modules` directory has been created, go to the `config.js` file and setup the bot.
7996
You can find some comments about every setting.
8097

8198
__Step 4.__
82-
Now, you can start the bot by pressing `F5` or putting `node sharder.js` in the terminal.
99+
Now, you can start the bot by pressing `F5` or putting `node index.js` in the terminal.
83100

84101
__Step 5.__
85102
Enjoy your bot !

0 commit comments

Comments
 (0)