A bot to use the News API in Discord !
The following modules are required:
- py-cord (^2.4.1)
- python-dotenv (^1.0.0)
- requests (^2.31.0)
All of them are listed in pyproject.toml
and requirements.txt
You also need to provide 2 variables in a .env
file:
BOT_TOKEN
: a Discord's bot tokenNEWSAPI_KEY
: an api key from News API
You can add a third one if your are in a dev environment:
DEBUG_GUILD
: a debug guild ID
Don't forget to use Poetry integrated environments or venv with pip
poetry install
pip install -r requirements.txt