-
-
Notifications
You must be signed in to change notification settings - Fork 613
Home
Invite the Public Version of this Bot So you don't need to host it by yourself or join my discord Server to get a custom hosted Bot for you!
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!
In here you may find a Problem, or issue from of your Bot, to be able to fix it without asking for help! Read it first before you open a issue
Click to view Possible Solutions and Problems - Scenarios!
Check out the INSTALLATION GUIDE pre-requirements of enmap!
That's why you need python
POSSIBLE SOLUTIONS:
-
Make sure to have nodejs installed correctly! Check this Tutorial Video on how to install nodejs Right! (Don't forget to ticket "Install essentials")
-
Don't forget to install python
-
Clear Cache and retry:
npm cache clean --force
-
delete
node_modules
and do this:npm i --python=python2.7 --save
/npm i --save
Click to view Possible Solutions and Problems - Scenarios!
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" } ] } }
Click to view Possible Solutions and Problems - Scenarios!
Install ffmpeg or execute the following Command and restart the bot!
npm i ffmpeg-static
Then make sure to open an ISSUE and list all DETAILS below!