Skip to content
项目

Tomato6966/Multipurpose-discord-bot

在 GitHub 查看

关于

一个多用途机器人、战队机器人,也是一个全能机器人。你的服务器所需的唯一机器人,最初由 Tomato6966 制作,名为 Milrato discord Bot。

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

INFO 2025

Check the new_2025 branch for a 2025 working version!

Public Bot and Support Server!

Important notes and thank ❤️

  • PROJECT IS NOT MAINTAINED ANYMORE (PR FOR UPDATES ARE WELCOME) - I have stopped making public source codes such as this one in that size 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 "new" Discord Server!

    NOTE: It is suggested to use the Sharded (&Clustered) version, if you plan on using it for a VERIFIED BOT (on more then 2000 Servers!)

Installation Guide 🔥

✅ Hosting Requirements

Click to expand

🤖 Bot Requirements

Click to expand **NOTE:** It is suggested to use the [Sharded (&Clustered) version](https://github.com/Tomato6966/Multipurpose-discord-bot/tree/sharded_with_mongo), if you plan on using it for a VERIFIED BOT (on more then 2000 Servers!)
  1. 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 tab or a branch.

🎶 Music Requirements

Click to expand

To allow your Bot to play music, you need to connect it to a LavaLink station! There are many public ones out there for example lava.link 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 adjustments 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 does not need 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 opening a cmd line in that folder and typing: 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

SUPPORT ME AND MILRATO DEVELOPMENT

You can always support me by inviting one of my Discord Bots

2021's best Music Bot | Lava Music Musicium Music Bot Milrato Multi Bot

Credits

If you consider using this Bot, make sure to credit me! Example: Bot Coded by [Tomato#6966](https://discord.gg/AsgD3gtPnb) but modified by [modifier/your Name](https://discord.gg/)

Contributing

If you want to help improve the Bot code, fix spelling or design Errors or if possible even code errors, you may create PULL REQUESTS. Please consider, that Tomato6966 is the main Developer of this Bot, everyone else helped just once or sometimes more often. Thanks to any1 who considers helping me!

探索相关项目

加载中…