Requirements & venv are handled by Poetry - https://python-poetry.org/docs & https://python-poetry.org/docs/basic-usage.
You will need to use type hints in your code for mypy's pre-commit hook. Before you commit use poetry shell
so you have a environment withpre-commit
installed.
To run:
- set the following environment variables:
DISCORD_PREFIX
DISCORD_TOKEN
MOD_ROLE_ID
MOD_ROLE_NAME
- do
poetry install
- and then
poetry run start