Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (20 loc) · 1.33 KB

README.md

File metadata and controls

25 lines (20 loc) · 1.33 KB

errbot-czechia-covid

An errbot plugin for Czechia covid statistics. Based on implementation from this repo. It does not look that fancy and some data are omitted, but it works well enough.

Example of an output:

(Note: I use :nothing: emoji for separators as errbot can only return strings.) Czechia-Covid plugin output

Installation

As this is a plugin for Errbot, you'll need an errbot instance up and running first. Please refer to the documentation on how to set up Errbot and install plugins.

To use this plugin, you'll also need to have a Redis database set up. You can download it here. When you have Redis up and running, export env variables REDIS_HOST and REDIS_PORT with IP address of the redis instance and its port. If you are running everything locally with default settings, then these variables should be REDIS_HOST=localhost and REDIS_PORT=6379. If you have Errbot already running, you should restart it.

Message customization

The only way to customize the report message is to fork this repository and update the message in the czechia_covid.py file.