A discord bot 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 either poetry install
or pip install -r requirements.txt
Then, run:
1) python main.py
You can use the pre-made docker-compose by running:
1) 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:
1) docker build -t your_project_name .
2) docker run -it your_project_name
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:
1) pip install pre-commit
2) pre-commit install