https://github.com/helixspiral/covid-19-cases-discord-relay
Relay to send Covid-19 statistics to a Discord webhook
https://github.com/helixspiral/covid-19-cases-discord-relay
aws aws-lambda covid-19 discord golang lambda
Last synced: about 2 months ago
JSON representation
Relay to send Covid-19 statistics to a Discord webhook
- Host: GitHub
- URL: https://github.com/helixspiral/covid-19-cases-discord-relay
- Owner: HelixSpiral
- Created: 2020-04-06T21:59:58.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-13T00:07:08.000Z (about 5 years ago)
- Last Synced: 2025-01-26T07:23:57.141Z (4 months ago)
- Topics: aws, aws-lambda, covid-19, discord, golang, lambda
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README

---This is a simple script that relays the current Covid-19 case count to a Discord webhook.
Current case count is taken from [Here](https://coronavirus-19-api.herokuapp.com/all)
This is build for use with AWS Lambda.
To run outside of Lambda swap the comments in the main function, remove the Lambda import, and set the DISCORD_WEBHOOK environment variable to your webhook url.
Example usage outside of Lambda: `DISCORD_WEBHOOK="http://test.url/hook" go run main.go`