Skip to content

antonstechde/impfbot

 
 

Repository files navigation

Impfstatus Fortschritt Discord Bot

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

Script Setup

  • 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

If you have any Questions:

Data Source

The script uses germany_vaccinations_timeseries_v2.tsv from impfdashboard.de.

Source: impfdashboard.de, RKI, BMG.

License

MIT

About

a discord bot that sends the newest vaccination data for germany

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

  • Python 100.0%