Skip to content

A simple Discord User Stats Webpanel with Python (Flask) and MySQL

Notifications You must be signed in to change notification settings

teraprath/discord-stats-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Stats Web

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.

Image

Installation

  1. Download the source and upload it on your Server or PC.
  2. Setup. If you don't know how to set up a Flask Web App on a Linux server, this video could help you.
  3. Set up your MySQL database and create a database (or use your existing one from your Discord bot).
  4. 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
  1. Open your website and here you are.

You can modify the bot as you want.

Use with Discord Stats Bot

Download the Discord Stats Bot for free and have a base for your code.

Image