Discord Bot that notifies you when vaccination slots are available for a particular district. It checks for slots every 10 seconds.
Discord Bot notifies you when vaccination slots are available for a particular district. It checks for slots every 10 seconds using Cowin Public API. If a slot is available it will send a message on a Discord channel, every 10 seconds until the slots are available. If a slot is not available, it will not send any message. It is useful because it can notify more than one person at a time, added to that particular server.
Apart from it, I also created a log channel for error handling. It updates the number of requests made by the bot so far and which requests were failed and their status codes.
You need to have a Discord Server where you will add this bot and permit it to send a message in the channel. Clone the repository and add environment variables in your .env file.
Submitted by Anshuman Singh Bais (anshuman29)
Download packets of source code on Coders Packet