This whole Repo is just a Fork of imbstt/impf-progress-bot!
This is the code that runs a Discord Bot , sending German vaccination updates with an ASCII-art style loading bar, inspired by the Twitter Account @year_progress.
▓▓▓▓▓░░░░░░░░░░ 31,5 % Erstimpfung ▓░░░░░░░░░░░░░░ 8,8 % vollständig geimpft
- Create an app at the Discord Developer site and create a bot and get the token
- Edit config.example.ini and put in your values there, then save it as "config.ini"
- Make sure state.cfg is writable, this is where the last Message and its values are stored so to not send repeated messages
- Create a PostgreSQL Database with a very simple Scheme like this (I can recommend you supabase to you if you don't want to self-host)
- Install the Requirements like this:
pip install -r requirements.txt
The script can now simply be called like this:
python bot.py
# or
py -3 bot.py
- Discord: DCGALAXY#9729
- Email: [email protected]
The script uses germany_vaccinations_timeseries_v2.tsv from impfdashboard.de.
Source: impfdashboard.de, RKI, BMG.
MIT