Skip to content

Latest commit

 

History

History
147 lines (99 loc) · 4.97 KB

README.md

File metadata and controls

147 lines (99 loc) · 4.97 KB

Project logo

Mittelbot

Deployment Beta Bot


wakatime GitHub license Discord GitHub issues Codacy Badge

Alt



Important Note!

This project does not support hosting without Docker or another free hosting service such as Heroku or Netlify currently.
To host this project, you must have a basic understanding of Docker and NodeJS. Anyone is welcome to contribute to this project and add a "how to host" guide to this readme file for other hosting services.


Performance

This project is designed to run on a server with at least 4GB of RAM and 2 CPU cores.




Mittelbot. A multi-purpose Discord bot with a lot of features.
With Notifications, Moderation with warn roles, Fun Commands, Auto-Translation, Banappeals, Auto-Moderation, Ticketsystem, Scam Detection, Reactionroles, Levelsystem, Music, Utility Commands and more!


Roadmap

Roadmap Mittelbot Release 1.0


Contributing

Thank you for considering contributing to the Mittelbot!
If you want to contribute to the Mittelbot, you can do this by creating a pull request.
If you want to add a new feature, please open an issue first.
You may ask if you should change the Database variables in the .env. You can of course. But the default one are perfectly for the development.

For deeper Questions you can join my Discord.


Pre-Requirements

Docker

How to install Docker on Linux: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-22-04
How to install Docker on Windows: https://docs.docker.com/desktop/install/windows-install/
How to install Docker on Mac: https://docs.docker.com/desktop/mac/install/


Installation

  1. Clone the repository
git clone https://github.com/Mittelbots/Mittelbot.git

  1. Copy the .env.example to .env and fill in the values (The most important values explained):
DISCORD_SECRET= #Your bot secret (Visit the Discord Developer Portal for your token)
DISCORD_TOKEN= #Your bot token (Visit the Discord Developer Portal for your token)
DISCORD_APPLICATION_ID= #Your Bot Application ID (Also known as User ID)
DEVELOPER_DISCORD_GUILD_ID= #The Guild were all commands should load on (When NODE_ENV is development)

# DEVELOPER CHANNELS
DC_DEBUG= # The Channel ID for the debug channel where discords debug messages will be sent
DC_DISCONNECT= # The Channel ID for the disconnect channel where discords disconnect messages will be sent
DC_ERROR= # The Channel ID for the error channel where discords error messages will be sent
DC_WARN= # The Channel ID for the warn channel where discords warn messages will be sent
DC_RECONNECT= # The Channel ID for the reconnect channel where discords reconnect messages will be sent
DC_SCAMMANAGE= # The Channel ID where all scam link requests will be sent

# DATABASE
DB_DEBUG=false # debug mode for the database
DB_HOST=mysql # default
DB_USER=mittelbot # default
DB_PASSWORD=root # default
DB_DATABASE=mittelbot # default

# MISC
OWNER_ID= # Your Discord User ID to use the owner commands

# ====== OPTIONAL ====== #

# TWITCH
TT_CLIENT_ID= #Your Twitch Client ID to run the twitch notifier
TT_SECRET= #Your Twitch Secret

# IMGUR
IMGUR_CLIENT_ID= #Your Imgur Client ID to run the imgur uploader
IMGUR_CLIENT_SECRET= #Your Imgur Client Secret

# YOUTUBE
YT_KEY= #Your Youtube API Key to run the youtube notifier

  1. Start Docker
npm run start

  1. View all commands (development only)

Go to your bot direct message and send deploycommands. You will notice, that in your console the commands will be deployed and updated.




© BlackDayz 2023. All rights reserved