Build Production CI | pre-commit checks |
---|---|
Madeline : The Discord bot (selfhost edition) with minimal features to query your favorite server, made with NAFF. Visit the official guide to get started.
There are multiple ways to launch the application.
To start the bot with python, you first need to install the required packages with pip install -r requirements.txt
Then, run:
python main.py
You can use the pre-made docker-compose by running:
docker-compose up
For most users, the use of docker-compose
is highly recommended.
Nevertheless, you can import the pre-made Dockerfile into your own docker-compose or run it manually by with:
docker build -t samp-query-bot .
docker run -it samp-query-bot
Note: Make sure that you created a volume so that you local ./logs
folder gets populated.
Additionally, this comes with a pre-made pre-commit config to keep your code clean.
It is recommended that you set this up by running:
pip install pre-commit
pre-commit install