Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lavalink dev #99

Closed
wants to merge 25 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<h3>Green-bot</h3>
If you liked this repository, feel free to leave a star ⭐ , it supports us a lot! Thanks you!
<br><br>
<p>Green-bot is a Free Discord Music bot who support Youtube, Spotify, Soundcloud, Vimeo, Facebook and 700 + websites.
many more <br> <br>
<p>Green-bot is a Free Discord Music bot who supports EpidemicSounds, Freesounds and http links!
<br> <br>
</p>
<br>
<center>
Expand Down Expand Up @@ -53,35 +53,50 @@
+ 24/7 music<br>
+ Songs request channel<br>
+ Highly configurable<br>
+ YouTube and YouTube Music<br>
+ Spotify & Soundcloud<br>
+ Remove duplicates tracks<br>
+ Easy to setup<br>
<br>

**📁 Installation**

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

And yes, it's same for replit.

You are looking for the All-in-One bot? [Click here](https://github.com/GreenBotDeveloppement/Green-bot/tree/multipropose)

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

You will need to start a lavalink server and complete the informations in the config.js files.

[Guide: How to start and create a lavalink server](https://dsharpplus.github.io/articles/audio/lavalink/setup.html)

Once your server is ready go in the `config.js` file and add a node.

```js
lavalink: [
{ name: "node", url: "IP:PORT", auth: "LAVALINK_PASSWORD" },
],
```

⚠ Please make sure that you are using the same informations as provided in the `application.yml` file

__Step 1.__

Install NodeJS on your computer or on your vps. https://nodejs.org. You MUST have NodeJs 16 or an higher version.
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.

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

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

__Step 4.__
Now, you can start the bot by pressing `F5` or putting `node sharder.js` in the terminal.
Now, you can start the bot by pressing `F5` or putting `node index.js` in the terminal.

__Step 5.__
Enjoy your bot !
Expand Down
27 changes: 0 additions & 27 deletions base/GreenBot.js

This file was deleted.

22 changes: 0 additions & 22 deletions commands/configuration/247.js

This file was deleted.

22 changes: 0 additions & 22 deletions commands/configuration/announce.js

This file was deleted.

37 changes: 0 additions & 37 deletions commands/configuration/auto-shuffle.js

This file was deleted.

42 changes: 0 additions & 42 deletions commands/configuration/autoplay.js

This file was deleted.

131 changes: 0 additions & 131 deletions commands/configuration/controller.js

This file was deleted.

32 changes: 0 additions & 32 deletions commands/configuration/defaultVolume.js

This file was deleted.

Loading