Is a news discord bot that reports the scores of your favourite teams.
We are using python 3.8 in a virtual environment for development.
Setting up python:
$ python3 -m venv venv
$ source venv/bin/activate
(venv)$ python --version
Python 3.8.1
Set the environment token:
$ export TOKEN=[bot-token]
(venv)$ pip install -r requirements.txt
(venv)$ python bot.py
Alternatively you can run the bot with the --token
flag and give it a token other than the one set in your environment.
(venv)$ pip install -r test_requirements.txt
(venv)$ pytest -v tests/