-
-
Notifications
You must be signed in to change notification settings - Fork 613
Home
Tomato6966 edited this page Jan 21, 2022
·
21 revisions
Wiki of the Multipurpose Discord Bot!
First of all, thanks for using this Source Code, it was and is a ton of work to create and maintain it! That's why I'm asking everyone to donate a little bit of money or if that's not possible, then join my Discord Server!
Click to expand
- nodejs version 16.6 or higher, i recommend the latest STABLE version
-
python version 3.8 or higher, to install the database
enmap
(better-sqlite3) - a VPS would be adviced, so you don't need to keep your pc/laptop/raspi 24/7 online! click here for a debian setup
- Check out my Recommended Host: BERO-HOST and use code
milrato
for cheap OP VPS (kvm) - Click here for a Direct Order Link
Click to expand
- Download the Source Code
* either by:
git clone https://github.com/Tomato6966/Multipurpose-discord-bot
* or by downloading it as a zip from the releases or a branch
Click to expand
To have your Bot able to play music, you need to connect it to a lavalink Station! There are many public ones out there for example lavalink.eu An example for a public configuration will be listed down below
- Make sure
Java 11
is installed on your System! - Download Lavalink.jar
- here is a direct link: https://github.com/freyacodes/Lavalink/releases/download/3.4/Lavalink.jar
- if you are on linux do this:
wget https://github.com/freyacodes/Lavalink/releases/download/3.4/Lavalink.jar
(prep:apt-get install -y wget
)
- Download application.yml
- Download my example, it's the configuration for the lavalink.jar file!
- Now put application.yml and Lavalink.jar in the same folder and start it
- To start lavalink type:
java -jar Lavalink.jar
- Make sure to keep your terminal Open!
- If you want to use something like
npm i -g pm2
to host it without keeping your terminal open type:pm2 start java -- -jar Lavalink.jar
- To start lavalink type:
- The settings like password in application.yml and port must be provided in the
botconfig/config.json
of the Bot- If you used the default settings, than no adjust ments are needed and it should look like this:
{ "clientsettings": { "nodes": [ { "host": "localhost", "port": 2333, "password": "youshallnotpass" } ] } }
- You don't want to host your own Lavalink?
- then use something like this:
{ "clientsettings": { "nodes": [ { "host": "node01.lavalink.eu", "port": 2333, "password": "Raccoon" } ] } }