A matrix bot that pulls data for COVID-19 from covid-api.com
- Invite bot to a private room
- Send a message
!covid19 help
to view commands
Note: You'll need to have access to an account that the bot can use to get the access token.
- Clone this repository
npm install
npm run build
- Copy
config/default.yaml
toconfig/production.yaml
- Run the bot with
NODE_ENV=production node lib/index.js
A Dockerfile and docker-compose are provided.
Build the docker image:
`docker build -t matrix-bot-covid19 .`
Build the docker image and run docker-compose to deploy to your server:
`docker build -t matrix-bot-covid19 . && docker-compose run matrix-bot-covid19`