Skip to content

Experience the thrill of the Hunger Games on Discord! Create, customize, and engage in deadly battles with your friends.

License

Notifications You must be signed in to change notification settings

yoggys/hunger-games-bot

Repository files navigation

Hunger Games Discord Bot

Requirements

Python 3.10

Installation

pip3 install -r requirements.txt
aerich init -t utils.settings.TORTOISE_ORM
aerich init-db

Enviroment variables

TOKEN = your bot token

Usage

Run bot

python3 main.py

Lint code

python3 -m black .

Tests

python3 -m pytest ./tests.py

How to update db with lastest changes

Migrate changes:

aerich migrate --name <name>

Be aware that some field parameters will not be read correctly, for this purpose edit the file in /migrations and add for example DEFAULT [] for default values (tortoise.fields.JSONfield).

Apply changes:

aerich upgrade

About

Experience the thrill of the Hunger Games on Discord! Create, customize, and engage in deadly battles with your friends.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages