A Simple Discord Webpanel working with Python Flask and a MySQL-Databse. It based on the Discord Stats Bot but you can of course also use and implement it for your own bot.
The project serves more as a basis than a finished one. You can modify it according to your preferences.
- Download the source and upload it on your Server or PC.
- Setup. If you don't know how to set up a Flask Web App on a Linux server, this video could help you.
- Set up your MySQL database and create a database (or use your existing one from your Discord bot).
- Go to the uploaded folder in config.py and enter your MySQL data.
# MySQL Database
host = "localhost" # Or your host
user = "root" # Or your username
password = "password" # Or your password
database = "dcstats" # Or your name
- Open your website and here you are.
You can modify the bot as you want.
Download the Discord Stats Bot for free and have a base for your code.