Tree


.gitignorecommits | blame
Cargo.lockcommits | blame
Cargo.tomlcommits | blame
LICENSEcommits | blame
README.mdcommits | blame
src/

README.md

# incidence_updates

Post the current incidence numbers of the specified districts to a specified discord channel.

This uses [rki-covid-api](https://github.com/marlon360/rki-covid-api) written by [marlon360](https://github.com/marlon360/) as the REST API source.

## Compiling

Install the dependencies:

- Rust

Then compile discord_covid19:

```
cargo build
```

## Usage

Set these environment variables:

- `DISCORD_TOKEN`: the application token of your discord bot
- `CHANNEL_ID`: the discord channel to post the results to
- `DISTRICTS`: a comma separated list with the district codes to be checked

## Resources

Send patches and questions to [~witcher/public-inbox@lists.sr.ht](https://lists.sr.ht/~witcher/public-inbox).

Instructions for preparing a patch are available at [git-send-email.io](https://git-send-email.io/).

Bugs and todo can be found at [~witcher/incidence_updates](https://todo.sr.ht/~witcher/incidence_updates).