Skip to content

Latest commit

 

History

History
135 lines (104 loc) · 6.65 KB

README.md

File metadata and controls

135 lines (104 loc) · 6.65 KB

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!

Installation Guide 🔥

✅ Hosting Requirements

Click to expand

🤖 Bot Requirements

Click to expand
  1. Download the Source Code * either by: git clone https://github.com/NotKisshore/Multipurpose-discord-bot-v13 * or by downloading it as a zip from the releases or a branch

🎶 Music Requirements

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

  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?
    {
       "clientsettings": {
           "nodes": [
               {
                   "host": "lava.link",
                   "port": 80,
                   "password": "Anything for the Password"
               }
           ]
       }
    }

🤖 Configuration and Starting

Click to expand

NOTE: you can do the exact same configuration inside of the example.env File, just make sure to rename it to .env or use environment variables!

  1. Check 🎶 Music Requirements that you started lavalink / use a valid public lavalink station
  2. Fill in all required data in ./botconfig/config.json NOTE: If you're on replit.com, it is exposed to everyone!(use .env instead)
  3. Fill in all required data in the .json Files in ./social_log/ (./social_log/streamconfig.json & ./social_log/twitter.json), if you want the SOCIAL LOGS to work! (the key authToken in streamconfig is not needed to be filled in!)
  4. You can adjust some settings in the other ./botconfig/*.json Files, BUT PLEASE KEEP MY CREDITS & ADS! This is the only way on how my hard work is "revenued"
  5. Now start the bot by typing opening a cmd in that folder and type: node index.js or npm start * If you don't want to keep the terminal open or if you're on linux, check out pm2 (and my tutorial) and type: pm2 start --name Bot_Name index.js

❓ Where to get which Api-Key(s)

Click to expand

NOTE: you can do the exact same configuration inside of the example.env File, just make sure to rename it to .env or use environment variables!

  1. ./botconfig/config.json
  2. ./social_log/streamconfig.json
  3. ./social_log/twitter.json

Credits

If consider using this Bot, make sure to credit me!