Skip to content

Development

Ignacio Cuellar Tapia edited this page Oct 24, 2021 · 7 revisions

Requeriments

  • Python: To run the project.
  • Mysql: To store persistent data.

File composition

Main files

  • bot.py: Core and Discord commands.
  • model.py: Mysql model by SQLAlchemy.
  • osu.py: Osu api communication.
  • utils.py: Utils methods for everything.
  • .env: Environment variables.

Not that important

Setup

Create database:

  1. Install MySql
  2. Create a New User with ALL PRIVILEGES.
  3. Create database
    • mysql -u [username] -p
    • CREATE DATABASE MultiOff;
    • USE MultiOff;
    • Use multioff.sql commands

Clone this wiki locally