Skip to content
Tomato6966 edited this page Jan 30, 2022 · 21 revisions

Public Bot and Support Server!

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!

Important notes and thank ❤️

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!

FAQ

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

📥 Problems during the Installation

Click to view Possible Solutions and Problems - Scenarios!

Having Problems at npm install especially npm install enmap?

Check out the INSTALLATION GUIDE pre-requirements of enmap!

That's why you need python

You can't install because u get something like this:

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

💾 Problems during the Starting-Process (node-reconnecting etc.)

Click to view Possible Solutions and Problems - Scenarios!

Getting this Error?

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

  1. Make sure Java 11 is installed on your System!
  2. Download Lavalink.jar
  3. Download application.yml
    • Download my example, it's the configuration for the lavalink.jar file!
  4. 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
  5. 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"
               }
           ]
       }
    }
  6. You don't want to host your own Lavalink?
    • then use something like this:
    {
       "clientsettings": {
           "nodes": [
               {
                   "host": "node01.lavalink.eu",
                   "port": 2333,
                   "password": "Raccoon"
               }
           ]
       }
    }

🎶 Music/Audio/Sound(-Board) Problems

Click to view Possible Solutions and Problems - Scenarios!

Getting this Error?

Install ffmpeg or execute the following Command and restart the bot!

npm i ffmpeg-static

None of those could help?

Then make sure to open an ISSUE and list all DETAILS below!