|
61 | 61 |
|
62 | 62 | Note: If you need help with the installation, you can join our [Discord Server]([https://green-bot.app/discord](https://discord.gg/Q5QSbAHaXB)).
|
63 | 63 |
|
| 64 | +And yes, it's same for replit. |
| 65 | + |
64 | 66 | You are looking for the All-in-One bot? [Click here](https://github.com/GreenBotDeveloppement/Green-bot/tree/multipropose)
|
65 | 67 |
|
66 | 68 | Before starting, make you sure you have a mongoDB database (it's free) and nodejs v16.
|
67 | 69 |
|
| 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 | + |
68 | 84 | __Step 1.__
|
69 | 85 |
|
70 | 86 | Install NodeJS on your computer or on your vps. https://nodejs.org. You MUST have NodeJs 16 or an higher version.
|
71 | 87 | 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.
|
72 | 88 |
|
73 | 89 | __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. |
76 | 93 |
|
77 | 94 | __Step 3.__
|
78 | 95 | When the modules have been downloaded and a `node-modules` directory has been created, go to the `config.js` file and setup the bot.
|
79 | 96 | You can find some comments about every setting.
|
80 | 97 |
|
81 | 98 | __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. |
83 | 100 |
|
84 | 101 | __Step 5.__
|
85 | 102 | Enjoy your bot !
|
|
0 commit comments